Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
At what time the property DataSessionID is set?
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00518513
Message ID:
00518540
Views:
8
I take that back. I tried Test.DataSessionID in the watch window. It does change in the Load or Init, but the debugger still will not trap when this change is no matter what I put a breakpoint on.

If you put DoDefault() in the Load or Init before opening the tables, does that work? Otherwise, call the OpenTables in the DE.

>I would say no sooner than the Form's Show event. I tried setting a breakpoint on when Set('Datasession') changes, but the debugger did not trap that change. I dropped SET('DataSession') in the debugger Watch window, then clicked in the left column to set the breakpoint.
>
>To test this, I issued DO FORM TEST NOSHOW from the command window. The DS ID was still the default of 1. At that point I do know th Load and Init have already fired. I then issued Test.Show(), and the DS ID changed to 2.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform