I need a query based on a search form that runs a report.
Basically, I have a form that records a person's name and has a subform with entries that records a date and a name on each line.
What I need is to run a query that takes its information from a search form Ive made and automatically puts it into a report.
Im guessing that I can make a command button that runs the report....and the report is based on the query...but how do I set up the query to get its information straight from the search form?
What language do I use in the query to say the criteria for Field1 should = Field2 (from a separate table) ??
Basically, I have a form that records a person's name and has a subform with entries that records a date and a name on each line.
What I need is to run a query that takes its information from a search form Ive made and automatically puts it into a report.
Im guessing that I can make a command button that runs the report....and the report is based on the query...but how do I set up the query to get its information straight from the search form?
What language do I use in the query to say the criteria for Field1 should = Field2 (from a separate table) ??
Last edited: