Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change database name in form at runtime
Message
De
01/05/2000 14:16:27
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
01/05/2000 13:35:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00364785
Message ID:
00364810
Vues:
27
>how to change database name in form at runtime. I have databases in different directories with same struct with diff. data. I want my forms to access the relevent database depending on the choice selected. But it seems that form hard code the DE cursors.
>
>Rajesh
1) Assuming you save the DBC path to an object called oSysinfo.DBCPath

In the DE beforeopentables method issue...

This.Cursor1.DataBase = oSysinfo.DBCPath

for each view
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform