Docmd.requery

A

alvin Kuiper

Hi

Is there a way where i can use DoCmd.Requery
In a underform.

What i have is a form with another form inside show
as data, and I have also another form there get the data from a query
so what i need is a way to Update this forms result

If i'm in the main form i can use DoCmd.Requery("Olfert")

But what shall i write when i want to use it from the form inside the main
form

Thanks
Alvin
 
T

Tom van Stiphout

On Wed, 1 Apr 2009 05:42:01 -0700, alvin Kuiper

In the mainform you can write:
Me.mySubformControlName.Form.Requery
(replace myObjectNames with yours)

-Tom.
Microsoft Access MVP
 

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

Top