Click to See Complete Forum and Search --> : Recordset Changed


Judgey
October 11th, 2001, 09:13 AM
I have a form which is has about 50 fields on it, all of them a linked to a Datasource and a Datafield from a recordset. Is there any easy way of detecting whether something has been changed without having to put a line of code in the change event of every text box ?

Work is necessary for man. Man invented the alarm clock.

John G Duffy
October 11th, 2001, 09:23 AM
If your textBoxes are in a control array, then there is only one Change event for all 50. This change event and all other events associated with the textboxes uses an index value to support the 50.

John G

Strat
October 11th, 2001, 10:18 AM
There's a DataChanged property on bound controls that can determine if the user has made a change to the original data.