Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know records were edited or deletion by Other use
Message
 
 
To
18/10/2000 10:42:23
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00430813
Message ID:
00430935
Views:
9
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform