Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP60-GETFLDSTATE
Message
De
11/10/2000 13:08:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00427891
Message ID:
00427927
Vues:
13
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
Fil
Voir

Click here to load this message in the networking platform