L
Len-DSInc
I've recently converted a database from Acc97 to Acc2003. In the previous
version there was a form that had 2 subforms. A popup form was used to edit
information displayed on the subform. When you closed the popup form, a
requery is called on the main form and the subforms so the updates to the
data would show. However, in the new version, the updates do not show
immediately after closing the popup form.
Here's the code in the popup form that used to work just fine in Acc97:
Forms("frmemployee_main").Controls("subfrmDayOffVacation").Requery
Based on some postings I've changed it this way and it still doesn't work:
Forms("frmemployee_main").Controls("subfrmDayOffVacation").Form.Requery
I've found if I change the data in the popup form. Wait about 10 seconds,
close the popup(which executes the requery), I will see my edit. If I do not
wait, the edit only shows half the time. Has anyone come accross this before?
version there was a form that had 2 subforms. A popup form was used to edit
information displayed on the subform. When you closed the popup form, a
requery is called on the main form and the subforms so the updates to the
data would show. However, in the new version, the updates do not show
immediately after closing the popup form.
Here's the code in the popup form that used to work just fine in Acc97:
Forms("frmemployee_main").Controls("subfrmDayOffVacation").Requery
Based on some postings I've changed it this way and it still doesn't work:
Forms("frmemployee_main").Controls("subfrmDayOffVacation").Form.Requery
I've found if I change the data in the popup form. Wait about 10 seconds,
close the popup(which executes the requery), I will see my edit. If I do not
wait, the edit only shows half the time. Has anyone come accross this before?