Walter Meester
HoogkarspelPays-Bas
Hi aleksey,
>Hi Walter,
>
>When view is in row buffering mode, each INSERT/APPEND does implicit TABLEUPDATE for the currently buffered record first. It is trying to update the base table which might be locked at the time.
>
>Thanks,
>Aleksey.
Herein seem to be a factor. I think this indeed is the case. However, The question is why it is locked because at every insert I do a tableupdate(2,.T.,cAlias). For what I´ve tested it runs without any problem at the first time, but has problem the second time. The tableupdate does succeed, so it should release the lock on the underlying table also.
Just setting it to tablebuffering seems to solve the problem.
Walter,
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