Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
At what time the property DataSessionID is set?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00518513
Message ID:
00518540
Vues:
9
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform