How can I force all data-aware controls to refresh from within TADOTable?
Posted on 2004-10-21
I am populating some values in the AfterInsert event of a TADOTable component, but some of my data-aware controls does not refresh to show these changes. I am doing a DisableControls and EnableControls before and after the changes.
How do I go about to force the data-aware controls to refresh their contents (remember that I now have a TADOTable control in insert mode, for which some fields values have been prepopulated) WITHOUT KNOWING THE NAME(S) OF ALL THE CONTROLS.
This needs to be dynamic as I do not know which controls are attached to the TADOTable (via a TDataSource).