Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to put the DBCs when you have many subdirectories
Message
From
23/03/1998 10:06:30
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00086373
Message ID:
00086377
Views:
19
>Hi,
>
>We are writing a distributed application with many DBCS for each
>entity. But our clients can have more than one entity.
>
>Example: MAIN\CITY1 with module 1,3,5 (3 dbcs)
> MAIN\CITY2 with module 2,3,4,5 (4 dbcs)
> MAIN\ARENA with module 1,2 (2 dbcs)
> all the same dbcs
>
>Can I put the DBCS in MAIN(SET PATH does seem to work) or with each
>update of the application, recopy the new DBCS in CITY1, CITY2, ARENA
>subdirectories. Can anyone have a ideal on how to manage this
>situation. It's more useful to have different subdir.
>
>Thank you in advances for your answers
>
>Steve McGrath

The only place when DBC really matters is DataEnvironment.Cursor.Database properties. So, VFP application should contain mechanism (generic custom method) to reset these properties in DataEnvironment.BeforeOpenTables event, i.e. your app should store/retrieve current database path/name and call this method for each DE.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform