Versions des environnements
Visual FoxPro:
FoxPro Windows
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement