General information
Category:
Forms & Form designer
Title:
When is a form's DataEnv loaded in rela to form events?
Environment versions
Network:
Windows 2003 Server
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?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only