Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with datasessions and set default
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01240752
Message ID:
01240754
Vues:
9
>I am having a problem with datasessions on a form. I am trying to have an application work with different data sets at runtime. In this situtation, I have data files (free tables) in the folder the application runs from, but I have alternate sets of data in other folders. I manage this by issuing a "set default" when I select a different set of data, and everything has always worked fine.
>
>Historically, I have always manually opened and closed tables for a form either in the setup code that calls the form, or in the form.load.
>
>Now, I have a form that I am using the form datasession object in. In this scenario, the form datasession is always loading the data from the folder the application is running out of instead of the folder I have set as default.
>
>How can I get around this using the forms datasession, or should I just go back to manually opening my tables?
>
>Thanks,
>
>Paul

Are you referring to Data Environment of the form?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform