Refresh, requery, or what?

I

Ivor Williams

I have a form with a subform. The data source for the subform is a table. On
the main form is a command button which, when clicked, opens a pop up form.
When the pop up form is filled in and closed, I want the information in the
subform to be updated to include the information added in the pop up form
without having to close and reopen the main form. Can someone clarify for me
the VBA code to do this. I'm obviously not understanding the differences
between Repaint, Requery, Refresh, ShowAll, etc.

Also, I have difficulty with syntax when referring to controls in subforms.
Can someone please clarify for me how properly to refer to controls in both
a form and a subform.

Thanks,
Ivor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top