{{tag>category:"OpenInsight 16-Bit" author:"matt bavis" author:"Richard Bright"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== SAVEWARN is not getting set? (OpenInsight 16-Bit) ====
=== At 15 APR 2003 12:19:26PM matt bavis wrote: ===
I was wondering if anyone else has run into this problem or maybe (most likely) I am just doing something wrong.
On a form I have a non-databound table and a databound table. I am using the non-databound table to allow the user to enter data and then I am programatically moving the entered data from the non-databound table to the databound table.
I move the data into the databound table using a SET_PROPERTY(@WINDOW:'.HIDDEN_GRID', 'ARRAY', GRID)
and then I trigger the lostfocus, with the intention of having the SAVEWARN updated.
SEND_EVENT(@WINDOW:'.HIDDEN_GRID', 'LOSTFOCUS')
The SAVEWARN variable get set if I have made changes to first item in the first row of the table. If I make changes to other table cells, SAVEWARN does not get set.
Has anyone ran into this before?
Matt
----
=== At 15 APR 2003 03:36PM Richard Bright wrote: ===
Matt,
Have you tried
SET_PROPERTY(@WINDOW:'.HIDDEN_GRID', 'DEFPROP', GRID)
** See Help ** If control is database linked, then setting this property also sets SAVEWARN property for a window and updates the database-bound structures, like the DataSet Object, and enables field recalculation for Native Tables.
Also, your comment on cell 0,0 may be answered by the other comments in the help.
Richard Bright
BrightIdeas New Zealand
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=BEF5ED0ADAF7508685256D090059AB7A|View this thread on the Works forum...]]