>Cetin,
>I defined an "on error" routine and it returns the correct message. But when I click on the "ok" button, the application still terminates. Perhaps one of the combinations of settings that I have defined below is incorrect...
>In the DataEnvironment.Init method I have...
> Set reprocess to automatic
> =CursorSetProp('buffering',2,'ASLB')
> Set order to CoAccount
>
>In the form properties I have...
> frm1.buffermode = 1-pessimistic
> frm1.datasession = 2-private
>
>Any changes suggested that might keep the app running and not terminate when a record is already locked by another user while the second user is attempting an edit of the same field would be highly appreciated!
>Thanks,
>Don
Don,
I use :
set reprocess to 1
But that doesn't explain the exit unless there is code to exit on escape (with automatic user would to press esc) - a button where 'cancel' property .T.?
You don't need to write code in DE.init nor change form.buffermode.
In DE, set buffermodeoverride for table(s) to 4 (and orders as well). (Just for it's easier - init coding would do too)
Cetin