J
JohnR
I'm running into a 'timing' or 'race' condition on my form. All textbox
controls are bound to a datasource, but certain other controls (like
labels) need to be updated when you move to a different record. In addition
some of the databound controls need to be modified (ie: verified) based on
the values of other databound controls. For example, if one checkbox is
checked, then I need to ensure that another databound control has a certain
value.
The problem is that I can't figure out what event fires when ALL the
databound controls have been updated. Before I start verifying and
updating controls on the form, I want to make sure that all of them have the
latest information. If I use the ControlA.textchanged event how do I know
that ControlB has been updated already? and vice versa.
Does anybody have any suggestions as to how I can determine if all databound
controls have been updated?
Thanks, John
controls are bound to a datasource, but certain other controls (like
labels) need to be updated when you move to a different record. In addition
some of the databound controls need to be modified (ie: verified) based on
the values of other databound controls. For example, if one checkbox is
checked, then I need to ensure that another databound control has a certain
value.
The problem is that I can't figure out what event fires when ALL the
databound controls have been updated. Before I start verifying and
updating controls on the form, I want to make sure that all of them have the
latest information. If I use the ControlA.textchanged event how do I know
that ControlB has been updated already? and vice versa.
Does anybody have any suggestions as to how I can determine if all databound
controls have been updated?
Thanks, John