Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5.0 Databases
Message
De
17/07/1998 14:33:56
 
 
À
17/07/1998 14:29:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00118743
Message ID:
00118744
Vues:
17
>I'm trying to figure out if it is possible to a database container named Accounting that will be located redundantly in some number folders with the necessary tables. My purpose is to allow the Application that I am developing to be able to allow the user to select the company whose data is located in 1 of the folders and to manage that data.
>
>If this design concept is possible, I plan to bring up the main menu of the app and request the company whose entries are to be made and to define the database name and the table to be accessed at Runtime.
>
>Any suggestions?

This is app design concept. Actually, VFP cares about datapath in just one particular place: Form.Dataenvironment.Cursor.Database property and the only thing your app should do is to keep path to currently used database as some application object property and reset all Cursor.Database properties programmatically:
***DE.Beforeopentables event
Thisform.SetAll('Database',oApp.dbcpathname,'Cursor')
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform