A
Alan
How do I refresh the table of a form when it is active ?
How do I refresh the table of a form when it is active ?
Sorry,
I have a main form have text boxes showing the fields of a record, then
another button like 'Edit current record', it pops up a form and I do the
editing, close that form and return to main form.
I want the main form refreshes reflecting the new data.
John Vinson said:Sorry,
I have a main form have text boxes showing the fields of a record, then
another button like 'Edit current record', it pops up a form and I do the
editing, close that form and return to main form.
I want the main form refreshes reflecting the new data.
Requery the main form in the Close event of the popup form:
Forms![mainformname].Requery
It will move the form back to the first record unless you store the
Primary Key of the record before you pop up the form, and find it
afterward.
I am using the table rather than query for the main form.