Hello,
Im having an issue right now where im trying to link two tables in a query based on the date and then output the results to a report.
What I have is a form set up to where you enter a date range. With one table its not a problem but i need to pull information from another table as well. The only way I can see to link the two tables is on the date. Reason being because since im pulling from a date range I want to include whats on table 2(secondary) along with table 1(main). Im trying to figure how to make this work with my query. At the moment I have a Where Criteria for the date on the main table. Can I use just that field and some vba so it knows to pull the date from the other table as well? Or do i need to add another Date field on the query for the second table and a new Where Criteria function?
Any help would be great!
Thanks
Im having an issue right now where im trying to link two tables in a query based on the date and then output the results to a report.
What I have is a form set up to where you enter a date range. With one table its not a problem but i need to pull information from another table as well. The only way I can see to link the two tables is on the date. Reason being because since im pulling from a date range I want to include whats on table 2(secondary) along with table 1(main). Im trying to figure how to make this work with my query. At the moment I have a Where Criteria for the date on the main table. Can I use just that field and some vba so it knows to pull the date from the other table as well? Or do i need to add another Date field on the query for the second table and a new Where Criteria function?
Any help would be great!
Thanks
Comment