The problem that I have is this:
USER A opens Record 1
USER B opens Record 1
USER A deletes Record 1
USER B wants to save changes to Record 1
How do I know that other user deleted the record? I would like to pop up a message and let the user know that the record was deleted by another user.
Thank you again
>Hi!
>
>GETFLDSTATE function cannot show state of record changed by another user. Its purpose - to show changes in your local buffer. To see someone's changes in the table on server, use refresh() command, or use OldVal()/CurVal() functions.
>
>>I am using buffering number 3 in my tables and GETFLDSTATE is not behaving as I thought.
>>
>>If a user deletes a record in another computer and I issue GETFLDSTATE(0) command I should get 2 as an answer. This is not what is happening even after I have issue my TABLEUPDATE command. What am I doing wrong?
>>
>>Thank you in advance.
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