Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declaring the location of my database
Message
De
11/09/1998 08:48:07
 
 
À
11/09/1998 07:38:16
Fausto Garcia
Independent Developer
Lima, Pérou
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00135419
Message ID:
00135435
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform