I am using Access 97. I have a form with a subform. There is a field in the subform that is summed in the footer of the subform. When the data in the subform is altered, I am validating it from the main form via a save button. The problem is that the sum in the footer of the subform may or may not be updated when the save button is clicked.
To be sure, I added a refresh of the form in the save code. This seems to work when I walk thru the code, but when I don't have the code trapped, it appears the refresh may not actually be complete when the code for the validation is executed.
Is there some way to wait for the refresh to be complete or include some kind of delay before the validation code runs.
Thanks in advance. Any help is greatly appreciated.
To be sure, I added a refresh of the form in the save code. This seems to work when I walk thru the code, but when I don't have the code trapped, it appears the refresh may not actually be complete when the code for the validation is executed.
Is there some way to wait for the refresh to be complete or include some kind of delay before the validation code runs.
Thanks in advance. Any help is greatly appreciated.