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

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

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/bef5ed0adaf7508685256d090059ab7a.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1