Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declaring the location of my database
Message
From
11/09/1998 08:48:07
 
 
To
11/09/1998 07:38:16
Fausto Garcia
Independent Developer
Lima, Peru
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00135419
Message ID:
00135435
Views:
10
>Hi to all
>
>I'm developing a project that is supossed to end in an EXE file which should run on 4 separate workstations (all of them under Win 95) connected to a LAN.
>I need to keep the database in one of those workstations (simulating a server, but this PC has to work as a workstation too), but I'm not sure about how to configure my project in order to achieve this.
>Is there any way to define the location of the database from the program that creates the application object?
>
>Thanks for your help.

The only thins which cares about data file location is DataEnvironment.Cursor.Database property (CursorSource property for free tables). So, you can keep actual data location as local app setting, and reset Database properties in DataEnvironment.BeforeOpenTables event.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform