Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data environment and Open DB using Code
Message
 
To
02/05/2000 08:56:10
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00364984
Message ID:
00365151
Views:
16
>Hi
>
>Set wrkjet = DBEngine.CreateWorkspace("", "admin", "", dbUseJet)
>Set DatabaseObj = wrkjet.OpenDatabase(App.Path & "\Data\pos.mdb", True)

You open your database exclusively with DAO!

Change this line
Set DatabaseObj = wrkjet.OpenDatabase(App.Path & "\Data\pos.mdb", True)
To
Set DatabaseObj = wrkjet.OpenDatabase(App.Path & "\Data\pos.mdb", False)
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform