Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Function or interface marked as restricted

Status
Not open for further replies.

apeddle

Programmer
Mar 20, 2003
2
US
I am getting an error when running a Access.
"function or interface marked as restricted, or the function uses an automation type not supported in Visual Basic". The code highlights a CurrentDB call. Why wouldn't it not like CurrentDB?
Am I missing something?
Thanks in advance.
-Andy
 


If you're using Access 97, check your references and see if DAO 3.50 is marked as missing. You may have been 'upgraded' to DAO 3.60 while installing another program.


Mark


A molehill man is a pseudo-busy executive who comes to work at 9 AM and finds a molehill on his desk. He has until 5 PM to make this molehill into a mountain. An accomplished molehill man will often have his mountain finished before lunch
- Fred Allen
 

Are you using the MS ACCESS Object Library with-in VB6?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top