By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,495 Members | 1,158 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,495 IT Pros & Developers. It's quick & easy.

How to requery a query in a SubForm

P: n/a
Dear reader,

After same changes it is required to requery (refresh) query in a sub form.

The code below is not working:

Me.Refresh

Forms!MasterForm!SubForm!Form.Refresh

or

Forms!MasterForm!SubForm!Form.Requery

or

Forms!MasterForm!SubForm!Form.Recalc

Is it possible to do a requery for a query in a subform and what is the code
syntax?

Thanks for any help.

Kind regards,

Simon
Aug 15 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Simon van Beek wrote:
Dear reader,

After same changes it is required to requery (refresh) query in a sub form.

The code below is not working:

Me.Refresh

Forms!MasterForm!SubForm!Form.Refresh

or

Forms!MasterForm!SubForm!Form.Requery

or

Forms!MasterForm!SubForm!Form.Recalc

Is it possible to do a requery for a query in a subform and what is the code
syntax?

Thanks for any help.

Kind regards,

Simon

I do Me.SubformName.Form.Requery and it works.

I think you put a . instead of a ! in front of the word Form it would work.

Sleep
http://www.youtube.com/watch?v=HgQejnOWCEE

Aug 15 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.