Alex
November 2nd, 1998, 05:53 PM
I tried to set "dim db as database" and it told me that database was an undefined variable. Anyone have any ideas why VB isn't recognizing it?
thanks
thanks
|
Click to See Complete Forum and Search --> : dim db as database ?? Alex November 2nd, 1998, 05:53 PM I tried to set "dim db as database" and it told me that database was an undefined variable. Anyone have any ideas why VB isn't recognizing it? thanks Crazy D November 3rd, 1998, 02:37 AM Yep.. actually its kind of easy if you know the answer.. Include DAO???.dll in your project ( Menu Project - References - probably MSDAO350.dll with VB6. Normally it's in the list) That's the dll you need to have access to databases. Hope it helps! Crazy D A. Karthikeyan November 20th, 1998, 05:51 AM From the Visual Basic Project menu, select reference menu item and set a reference to Microsoft DAO 3.5(or the version you have) library. Then you won't get the error. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |