Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When is a form's DataEnv loaded in rela to form events?
Message
De
16/11/2006 15:04:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
When is a form's DataEnv loaded in rela to form events?
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01170449
Message ID:
01170449
Vues:
68
I am working on designing one of my first forms - yes I'm a newbie :) I put some code in the form's Init event, expecting the data enviromnent to be established at that time. I put a WAIT WINDOW command just after my code in form's Init, and the Data Session window did not show the data enviroment loaded with all the free tables specified in my form's DE. Oddly, on the next line (in Init) I did a SUSPEND. After suspending, the data environment is fully loaded. Maybe you can't truly suspend VFP in the form Init, as possibly some other events/methods fire before fully suspending?

So my question is when does a form's DE get loaded, in relation to the many events/methods of a form?

TIA,

-Mike

PS. Can anybody tell me why every time I post a new message to this Visual FoxPro forum, the drop down Category list contains non-VFP categories. I have to click Send, then get a message that I selected a nonexistent VFP category. Maybe this is a glitch because I use FireFox?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform