Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP60-GETFLDSTATE
Message
From
11/10/2000 13:08:32
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00427891
Message ID:
00427927
Views:
15
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform