Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to identify programmatically an ACCESS db version?
Message
 
 
To
14/11/2001 03:05:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00581341
Message ID:
00581356
Views:
15
>Hi all,
>
>Can identify programmtically in Visual Fox Pro if an ACCESS db (.mdb) is verison 97 or 2000 ?
>
>Thanks in advance
>Petros
Local oAccessApp As Access.Application
oAccessApp = CreateObject("access.application")
oAccessApp.OpenCurrentDatabase("c:\program files\microsoft office\office\samples\northwind.mdb")
MessageBox(oAccessApp.CurrentDb.Version)
Unfortunately, it returns version 3.0 instead of 97

HTH
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform