Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing datasession or SET('DATABASE') to other form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00187750
Message ID:
00187796
Vues:
25
If your search form is called from the first form, and the first form uses private datasessions, then set the default datasession to default to use the DS from the calling form.

>...snip
>It works fine unless the calling form has a private data session. The dbGetProp function generates the error "No database is open or set as the current database". First I tried to pass the search form the value of DBC(), but that was blank for some reason. Then I tried to pass it the calling form.DataSessionID, and used SET DATASESSION TO that value
...snip
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform