Hi John!

> 1. read data with no lock, put it on the users screen.
> 
> 2. at some later date user hits ENTER.
> 
> 3. read data with lock.  If it is not the same as it was at (1) tell the
>    user that you're sorry and someone else has changed the data.
> 
> 4. if the data was the same rewrite it with the new data.
>
In Clarion we call this "Optimistic Concurrency Checking." It actually 
works VERY well, and is the standard for Clarion file management.

-- Craig (The Data Ferret) 
http://www.pcferret.com/ for RARS, NetClip
Using Virtual Access 5.01 build 301 in Win98
"Do not meddle in the affairs of FERRETS..."


Reply via email to