nkk777
12th November 2002, 13:59
I have developed a type 3 session with 3 view fields. Also I have a choice option by which one of the view fields is updated in the background. After the choice is executed since the view field is changed, I am getting a message "Record modified by other user; new values are displayed". Is there any way to suppress this message?

Thanks

shah_bs
13th November 2002, 02:50
The message comes up BECAUSE you have updated the field. It cannot be suppressed. You need to correct the logic of your update function.

You need change your program to call your update logic under the control of the on.main.table() function, thereafter do an execute(find.data) to refresh the screen after the update. The function that does the update should be written as a complete transaction with retrypoints and a final commit to save the changes.

Hope this helps.

[I do suppose there is compelling reason to do an UPDATE in a DISPLAY session! ]