Savewarn message on Write ?? (OpenInsight 32-bit Specific)
At 23 DEC 2008 08:08:31AM Simon G Wilmot wrote:
Hiya,
I am getting a Savewarn message appearing while doing a Forward_Event('WRITE').
Return 0 at end of event, even tried setting Savewarn to False$.
If actually happens during the Forward_Event processing …
Anyone any ideas ??
TIA
Simon
At 23 DEC 2008 08:24AM Simon G Wilmot wrote:
I should have put urgent on the original, need this sorting today of possible.
Simon
At 23 DEC 2008 12:26PM Simon G Wilmot wrote:
I have found the reason for this - because the Misc property of the window has values set on it.
I would like to know whether anyone else considers that this is a bug ?? In version 7.2.1 …
Simon
At 23 DEC 2008 04:48PM Sean FitzSimons wrote:
Simon,
What happens if you issue Forward_Event() without "WRITE"? Is the Forward_Event within the WRITE event of the form? If so, the WRITE event does not accept any parameter, so Forward_Event() should be sufficient. Are you doing anything prior to the Forward_Event that could be causing a change to the form's controls, this could trigger the SAVEWARN?
Sean
At 23 DEC 2008 05:03PM Simon G Wilmot wrote:
Hi Sean,
The Forward Event is within a program called from the event. See my last posting on this thread re how I got round it eventually …
Regards,
Simon
At 23 DEC 2008 05:18PM Sean FitzSimons wrote:
Simon,
I have a feeling the MISC property change is a red herring? When I set the MISC property of a form, I'm not prompted to Save the Record when I close the form, so I'm not sure whether it actually is the setting of the MISC property.
Sean
At 23 DEC 2008 06:01PM Simon G Wilmot wrote:
You would think that. But if I clear the Misc property before the Forward Event, it works ok - if I remove the line to remove the Misc settings, it gives the extra message … so what else can I presume !!
Simon
At 24 DEC 2008 07:37AM Mike Ruane wrote:
Simon-
Have you checked for errors using Get_Status or Get_EventStatus?
Conversely, have you reset either one or both of these?
If there is an error condition, this will let you know.
Mike
At 01 JAN 2009 01:18PM Simon G Wilmot wrote:
Hi Mike,
Yes, I did check these and there were no errors to report.
Simon