Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dataenvironment
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Dataenvironment
Miscellaneous
Thread ID:
00391931
Message ID:
00391931
Views:
50
The following code, in a startup .prg, works fine (and runs the form):

CurDataSource="r:\data\my_data.dbc"
Open database (CurDataSource) shared
Set database to (CurDataSource)
Do Form Test_Form


However, when I keep the "dbc" extension off the "CurDataSource" variable, I get an "Error instantiating cursor object" error when the form loads. Is there any reason for needing the "dbc" extension?
Next
Reply
Map
View

Click here to load this message in the networking platform