Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETALL in DE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00218458
Message ID:
00218483
Vues:
32
>What's the SETALL syntax for pointing the cursor's database somewhere other than where it's hard coded?
>
>I have this at home, but I can't remember it and my fiddling isn't soming up with the right syntax.

Note that this code does not work for free tables only tables in a database. Also set the form's dataenvironment AUTOOPEN=.F.
* ENSURE DATABASE AND TABLES ARE POINTING TO CURRENT DIRECTORY
thisform.SetAll("Database",gcDbPath+gcDbname,"Cursor")

* open the tables again
thisform.dataenvironment.opentables()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform