Using the same query in multiple subforms

J

Jeff

I want to have a form with multiple subforms that show data of different
dates. I do have a query that displays in one subform. So I would like to
create multiple subforms using the same query. How do I set the different
dates into the subforms query? This is hard to explain!
 
A

Allen Browne

Could you set the RecordSource of your different subforms like this:
SELECT * FROM MyQuery WHERE [SomeDateField] > #1/1/2003#;

Use whatever WHERE clause is appropriate to the different subforms.
 

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