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 not working 8
Subform not displaying 2
REQUERY SUBFORM 4
To Requery or Repaint? 3
Requery subform 1
RepaintObject Error: [sub]form not open 1
Form/Subform Problem 1

Top