>Cetin,
>I tried implementing an error handler. But VFP ignores the handler, says that the record is in use by another, and I when I press either cancel or ignore, the application ends. This happens when the second user attempts an edit of the field that the first user is editing. I tried setting readonly to true and that didn't work. I hate to abandon the grid interface for editing, but can't seem to stop the application from exiting. But thanks for you help.
Don,
Editing directly in grid is hard. However if you'd do it :
-Use either pessimistic buffering or optimistic with manual record locking
-With pessimistic buffering form's error event would handle it. ie:
if nError=109
messagebox('Currently being edited elsewhere. Try later')
return
endif
-With optimistic you'd be responsible to check that during manual locking or if didn't lock at all when tableupdating check conflicts.
Cetin