Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Ok,
>>
>>Two things...
>>
>>1. If your cursor is table buffered RLOCK shouldn't be in there, since you ar only doing the replace in the local buffer.
>
>The cursor contains the input data which is used to update the table pireq. Should I still remove the RLOCK?
Yes... I am thinking that since you are locking the record, the update is actually happening there even though you are table buffered, so when you do call table update there are no records to update.
Since your design is to update the buffer the RLOCK should not be there.
BOb
>
>>
>>2. After you table update fails issue;
>>aerror(MyError)
>>messagebox(MyError[1])
>
>Will try that and myerror[2] for message
>
>>
>>This should tell you why the update failed.
>>
>>BOb
>>
>>
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