Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
I'm not exactly sure what you tried Garrett ...
I implied that it was not logical to lock a (new) buffered record, and since it didn't raise an error, it's actually anybody's guess as to what VFP actually does when you issue a command that normally only operates on "real" records vs "virtual" records (ie. "trying to lock").
>>Your APPENDed record is "in the buffer"; by definition, it is already exclusive to you and "invisible" to everyone else until you TABLEUPDATE, or move off the record.
>>
>>In the current context, you are not locking your appended record (in the buffer), you're trying to lock the "current record" in the table ...
>
>I just tried this (with table buffering on instead of row buffering), and when I scanned through the table checking ISRLOCKED() for every recno, including -1, nothing returned .T. -- was I missing something?
Précédent
Suivant
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