I would like to do the following in VBA or a mix of Access objects and VBA. Here is some pseudocode:
- Assign the following SQL to a variable or recordset: "SELECT Employee_ID, Employee_Name, Employee_Phone FROM Employee WHERE " & Forms!EmployeeForm.Filter i.e. the filter specified on the previous form
- Take the above query and join it with the Receipts table by Employee_ID to get Receipts.Amount
- Set the joined query as the Recordsource of the report
Any ideas? I'm stuck on how to do this exactly. Thanks!
- Assign the following SQL to a variable or recordset: "SELECT Employee_ID, Employee_Name, Employee_Phone FROM Employee WHERE " & Forms!EmployeeForm.Filter i.e. the filter specified on the previous form
- Take the above query and join it with the Receipts table by Employee_ID to get Receipts.Amount
- Set the joined query as the Recordsource of the report
Any ideas? I'm stuck on how to do this exactly. Thanks!