Save Warning Dialog on Write Forward_Event? (OpenInsight 32-Bit)
At 25 MAR 2010 11:18:21AM John Bouley wrote:
I have a form that has been working fine for years. I added a bound check box to the form. When this control is changed from checked to unchecked or vice versa the window dispalys a dialog during the save process. If I answer "Yes or No" to the dialog has no bearing on if the data actually saves. Other controls that are changed do not seem to cause this behavior. This is OI 7.21.
The form has a write script that says:
call set_property(@window,"SAVEWARN",0)
call set_status(0)
Call Forward_Event()
x=Get_EventStatus(ErrCodes)
If Len(ErrCodes) Then
x=Msg(@Window,ErrCodes)End Else
X=commuter("SAVE",CtrlEntId,@window)End
Return 0
Any ideas?
Thanks,
John
At 25 MAR 2010 11:39AM John Bouley wrote:
Never mind… I found the cause. I had a script on the CLEAR event that called forward_event. Simply commenting out that line and "return 1" resolved the problem.
John