Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append Blank and record locking
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Versions des environnements
Visual FoxPro:
FoxPro Windows
Divers
Thread ID:
00960590
Message ID:
00966566
Vues:
7
>I'm feeling dumb today.
>I'm sure that somewhere I read or was taught that an Append Blank locks the record it creates. I just tested that and it doesn't seem to be true.
>
>Is anyone else out there under the impression that Append Blank locks the record it creates or is it just me?
>
>Is it perhaps because a new record is something the system doesn't know about and there for won't try to write to... so it seems like it's safe enough to not bother with a RLOCK()?
>
>Rick

APPEND BLANK doesn't leave anything locked by its action. It does however try to point the current record pointer at the "empty" record -- unless of course you have a covering SET FILTER that precludes viewing "empty" records. I believe this is how it always has been, and hasn't changed in any subsequent versions. ( Since we're talking about VFP 2.x, you couldn't have a trigger set to lock the record since you don't have a DBC ).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform