SYSMSG not hooked from quickevent call? (OpenInsight Specific)
At 06 FEB 1998 11:24:17AM Ron Hollar wrote:
I have a form (in OIWG 3.5) that calls a stored procedure (quick event) from the SYSMSG event. The code in the stored procedure never runs. If I put code in the script of SYSMSG, it works. Can someone from Revsoft please verify this behavior?
At 06 FEB 1998 05:27PM Cameron Revelation wrote:
Ron,
I have a form (in OIWG 3.5) that calls a stored procedure (quick event) from the SYSMSG event. The code in the stored procedure never runs. If I put code in the script of SYSMSG, it works. Can someone from Revsoft please verify this behavior?
I think I know what you are describing but I am not the expert on the event model. If the code you put into the script (when you got it to work) was just a "return 1", then please try the following two things (try #1 and see if it fixes it, if not try #2).
1. In Form Des, go to that SYSMSG event script and choose Edit, Clear Event. Run the form and see if that works.
2. In UI Workspace, choose Event Designer and enforce the SYSMSG event. Close OI, re-open OI, open the form in Form Des, save it (to force re-compile) and run it.
Otherwise, if the code on your script was directly calling your procedure, then let me know because that would probably be our fault in the SYSPROG promoted SYSMSG event handler and we can fix it for 3.6 (and probably give you a solution in the meantime).
Thanks,
Cameron Purdy
info@revelation.com