requery repaint or what?

I

Ivor Williams

I have a form with two subforms, all linked on ProjNo, all use as a record
source queries (not the same one). After updating a value in the first
subform, I would like to have the values in the second subform update
without having to close and re-open the main form. I'm not sure whether I
should use requery, repaint or what and what is the proper syntax to refer
to the second subform in VBA.

Ivor
 
B

Barry Gilbert

In the first subform, try something like this:

Me.Parent.2ndSubFormName.Form.Requery
 

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

Refresh, requery, or what? 2
REQUERY SUBFORM 4
Subforms linked to subforms 2
Requery Subform 4
Linking 1
subform populate error 7
Form/Subform Problem 1
To Requery or Repaint? 3

Top