Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locks, wthat is the better option ?
Message
 
To
21/04/1998 14:08:12
Carla Silva
Http - Produtos Informaticos, Lda.
Odivelas, Portugal
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00093756
Message ID:
00093801
Views:
30
>What is the better option to programming in network data sharing:
>
>1) Using the scatter and gatter command, and manually locking, using the rlock() , flock() and isrlocked(), set reprocess, ......
>
>2) Using the buffermode property, and this way use the tableupdate() , tablerevert() , begin transaction,.....
>
>I´m using the dataenvironment, datasession property type 1, buffermodeoverride property type 3.
>
>Thanks
>Carla

I use a combination of the 2. I use buffering, tableupdate(), tablerevert() and begin/end trans for adding and editing data. I also use record locking and begin any editing method with IF RLOCK()..... Either way, like Edward suggested, pick a way and stick to it. HTH
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform