>>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