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:
00187833
Vues:
19
That was quick.

I'm still stumped, but I'll re-iterate the clues: the error indicates that I need to SET DATABASE TO something. However, in the calling form, the DBC() function returns an empty string, so I can't pass the name of the database to the search class. I should also mention that I am using vfp6 and that my forms were converted from vfp3.

My short-term stop-gap measure is to disable the code that gets caption names when the calling form has a private datasession. But I don't want to leave it like that.

>Sorry, Bret.
>
>I meant set the form property called that is called DataSession to 1)-Default Data Session. Which apparently you have done.
>
>Then, if your private form calls the search form, the search form will use the datasession from the private form by default.
>
>If you are not seeing it...then there is something else wrong. (At least as far as I can tell.)
>
>>I'm not sure what you mean by "set the default datasession to default". The .DataSession property of my search form class is 1 - default.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform