Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SETALL in DE
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00218458
Message ID:
00218483
Views:
33
>What's the SETALL syntax for pointing the cursor's database somewhere other than where it's hard coded?
>
>I have this at home, but I can't remember it and my fiddling isn't soming up with the right syntax.

Note that this code does not work for free tables only tables in a database. Also set the form's dataenvironment AUTOOPEN=.F.
* ENSURE DATABASE AND TABLES ARE POINTING TO CURRENT DIRECTORY
thisform.SetAll("Database",gcDbPath+gcDbname,"Cursor")

* open the tables again
thisform.dataenvironment.opentables()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform