Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Databases and locations
Message
From
16/09/1997 09:20:06
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00050178
Message ID:
00050189
Views:
16
>I want to choose the path of the databases (3) in a form.
>
>In each local computer, I have a table who have: company, menu, directory
>
>In the main menu there is a form where the user can select the database of that company. (all databases have exactly the same structure but differents paths.
>
>When the users choice a conpany, I CLOSE ALL, send a PATH command with the database´s path, the forms,menus and rest of staff paths, and open the databases again
>
>I have all the forms EXCLUDED from the project
>
>The users have their private directory for temp files and indexes (I use CD "c:\temp" to do it).
>
>Sometimes, the views doesn´t work, others the program goes crazy with tables and databases....
>
>Am I wrong?
>
>Is there a better way to do it?
>
>thanks.

The proven method is to reset Database property (using appropriate path) for all cursors in DataEnvironment.BeforeOpenTables event.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform