Filtered Combo Boxes

M

Mark Baker

I have several filtered combo boxes on a subform. These work fine whee I
open the subform directly and test them. However, once I open my main form
(that contains the subform) and test the subform it doesn't appear to
complete the requery command.

How can I get this to work?
 
J

Jeff Boyce

Mark

When you embed a subform in a main form, you will need to tell it where to
look. It isn't looking in the stand-alone version any more, but in the
embedded copy. The syntax looks something like:

Forms!YourMainForm!YourSubformControlName.Form!YourControlNameInSubform

Check Access HELP for "Expressions"

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
M

Mark Baker

Thanks, I've got it working...although I did miss changing the path for the
criteria in my query for a little while.

Cheers
 

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