Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do we use multiple datasets with dbcs?
Message
From
29/05/2003 11:49:15
 
 
To
29/05/2003 11:04:20
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00793953
Message ID:
00793973
Views:
39
There are a number of different options depending on how you have coded the app but this is the way I would handle it. You can store each business in it's own data directory and use the same DBC name and table names.

You could have a naming convention for your data folders or a configuration file pointing to the data folder. This way you could add as many businesses or datasets as you wanted. When opening the DBC, just be sure to get the selected one.



Business 1
\\Server1\Share1\Data


Business 2
\\Server2\Share1\Data



Hope This Helps



>I have a client who uses both my DOS and VFP6 applications which do not make use of DBC technology.
>
>I've upgraded to vfp8 and decided its time to use the enhanced transaction security and various other things that come with DBCs.
>
>My client runs two separate but very similar businesses using my software and all they have to do on entry is pick the relevant dataset from a popup and all the relevant datafiles are correctly opened as required.
>
>How do I achieve that functionality with DBCs?
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform