CurVal("Deleted()") = .T.
>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.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.