You might want to learn about UNION queries. It's a way of combining two tables; you can open a recordset based on a union query.
Here's some sample SQL from a union query I used recently:
[tt]
SELECT EmpName, EmpID, SS_Number, TermDate, Date, Points, EmpAutoNumID, AwardName, Step FROM Report_EmployeeAwards
UNION ALL SELECT EmpName, EmpID, SS_Number, TermDate, Date, Points,EmpAutoNumID, "Payment", null FROM Report_EmployeeWithdrawals
ORDER BY EmpName, Date;
[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.