G
Guest
I have a primary form and a sub-form all on a tab control form, that update
database a from primary form and database/table b from subform. They are
inter connected via Parent / Child links on primary keyed fields.
Problem exists if you write primary record a, tab to subform, write 1 or
many records from subform, as you tab back to primary panel, it wants to
write invalid record to table b. This write is because sequence number (not
autonum field is updated) and dirties the subform. The record itself has a
required field that if null, will not let the write occur, but, I want to get
rid of this error, and allow the user to tab to new panel without the error.
What do I have to check for: ON RETURN (close) works ok, I've check ON
UNLOAD, ON DEACTIVATE, ON LOST FOCUS, what switch gets set when you tab from
a subform back to a primary form?
Thanks in adavance
database a from primary form and database/table b from subform. They are
inter connected via Parent / Child links on primary keyed fields.
Problem exists if you write primary record a, tab to subform, write 1 or
many records from subform, as you tab back to primary panel, it wants to
write invalid record to table b. This write is because sequence number (not
autonum field is updated) and dirties the subform. The record itself has a
required field that if null, will not let the write occur, but, I want to get
rid of this error, and allow the user to tab to new panel without the error.
What do I have to check for: ON RETURN (close) works ok, I've check ON
UNLOAD, ON DEACTIVATE, ON LOST FOCUS, what switch gets set when you tab from
a subform back to a primary form?
Thanks in adavance