Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know records were edited or deletion by Other use
Message
 
 
À
18/10/2000 10:42:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00430813
Message ID:
00430935
Vues:
10
>>Hi,
>> I have tried getnextmodified. However, it seem like check the buffered cursor only instead of the actual data in disk.
>>
>>I have a experiment which I have 2 instance of VFP. Once i edit a record in 1st instance, Getnextmodified still return 0 in my 2nd instance.
>>
>>Any idea?
>
>As far as getnextmodified is concerned (in the 2nd instance) the data has not changed.
>
>In normal circumstances, two instances of VFP (or VFP applications) should not be allowed to change the same record at the same time. The record should be locked when the user starts editing the record, and another user should not be allowed to make changes when the record is locked.

Hi Steve,

Could you please expand your idea a little bit more? How do you lock records in your application?

In our applications we lock records, but not in all cases. Sometimes two users may change the same record in a time. In this case, who hits Save later, he/she saves.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform