Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When is a form's DataEnv loaded in rela to form events?
Message
 
To
16/11/2006 15:58:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01170449
Message ID:
01170481
Views:
10
>Thanks for the list of events and the order they fire in!
>
>Interesting, as I leave the Data Session window open and start my app. When the form's Init event fires, I pause it with a WAIT "INIT event..." WINDOW just after all my code (in Init) that expects the data env to be loaded, relations set etc. But the Data Session does not show the 4 cursors defined in my form's Data Envir. And, yes I have set the DE's AutoOpenTables is set to .T. The environment is loading, but not at the start of Init. I guess the other possibility is that the Data Session window is not being refreshed when my WAIT WINDOW pauses form's Init. I'll use the debugger to try to determine what is happening here...

Check to see if your Data Session window shows right data session (form one).
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform