Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing DBCs within an application
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00540872
Message ID:
00540888
Views:
29
Hi Rodney,

You might consider having a free "configuration" table for your app (not part of a DBC, and maybe compiled into the app) that holds various information -- including the name and location of your data DBC. Then, you'd write some code that checks the table for the value and opens the desired DBC.

Alternately, you could pass as a parameter the name/location of the DBC to your app each time you run it, and use (basically the same) code to check the value for correctness and open the DBC you want.

HTH.

(your message trimmed to satisfy Nancy)(BG)(ducking)
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform