Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Environment problem?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Data Environment problem?
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01110690
Message ID:
01110690
Vues:
50
Hi everybody,

We're using MereMortals framework, but I think this problem is more generic.

We have a form that uses free tables in its DE. In the calling form I set path to the folder where these free tables are located.

Now, here is what's happenning: I open form with, say, Batch 10. It opens tables correctly pointing to the right directory. I close the form, restore set path. I then try to open this form with another batch, say, 11. The path is again set correctly, so the right directory is set in the path. However, the form opens wrong data (previous tables).

Well, we solved the problem by setting right alias CursorSource in LoadCursors method of Cursor, but why we have to do that? How does form's DE remember last tables accessed?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform