Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Locking - Automatic or Explicit in VFP5?
Message
De
26/12/1997 05:22:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
File Locking - Automatic or Explicit in VFP5?
Divers
Thread ID:
00067965
Message ID:
00067965
Vues:
62
I have been using FOX for many years now and have been used to using explicit (rlock()) locking in all my apps. I have been working on a large VFP5 app for the last 8 months and have been using the older style of code without buffering.

My code generally looks like...
IF RLOCK()
* Record locked so carry out operation
UNLOCK
ELSE
* Unable to lock record so proceed to ON ERROR
ENDIF

I don't use the Data Environment, preferring to open tables in the Load section.

Could you please advise if there is a better way in VFP5 and perhaps include a skeleton as above.

Regards
Doug Johnston
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform