Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change DBC during Application Run
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00156044
Message ID:
00156375
Vues:
54
>>Thisform.SetAll("Database",cNewdbcpathname,"Cursor")
>
>What? One line instead of thirty? I don't know how you get paid, bub, but I get paid by the line! :)
>
>Oh, well. That'll teach me to rely on KB code. I'll give it a shot (using ThisForm.DataEnvironment). And of course, I still need to get the database name from the first cursor. Thanks!

Ok, two minor things:
1. It's really Thisform (not Thisform.DataEnvironment), because DE doesn't have SetAll method.
2. To get database name you just use cDbcname=dbc(), assuming that database is opened already (I do it in Main.Prg).
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform