Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6: Forms 101
Message
De
15/04/1999 14:10:21
 
 
À
15/04/1999 14:08:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00208683
Message ID:
00208686
Vues:
25
If you have a Private datasession defined, think long and hard about opening the table in the OpenTables method of the datasession. Also, SET MULTILOCKS and other SET commands scoped to a datasession should be used in the BeforeOpenTables event of the dataenvironment. Datasession events are processed before Form events.


>I have a form (frmRLData) that has a Private DataSession. In the LOAD of the form, I open a table for the form, and set the Buffering to 5 with CursorSetProp. When I run the form it tell me that SET MULTILOCKS must be set to ON.
>
>I preceded the CursorSetProp with SET MULTILOCKS ON and I get the same message. Is this an order of instantiation problem that it appears to be ignoring my SET MULTILOCKS ON? I read through Drew Speedie's "LISA G" article in March FoxPro Advisor and saw no "Gotcha's" concerning what I'm seeing.
>
>Here's the code:
>
>SET MULTILOCKS ON
>USE RateLett.dbf
>=CURSORSETPROP('buffering',5)
>
>If there's something glaring that I'm overlooking, I'm ready to hear about it.
>
>Thanks!
>Ray <><
>
>Ray Heilman
>Programmer
>Myers and Stauffer LC, Frankfort
>RHeilman@MSLC.Com
>(502) 227-5799, ext 12
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform