Hi all,
I have the following query named as Qry_Rpt_02.
On the attached image there is a button at the bottom that is called Holiday Detail Report. When you click that it loads the report using the query above. Report is shown in image3.
As you can see the report is showing another users holiday.
What is the easiest way of getting this report to show the correct users information, i.e. the user that is shown in image2.
Many Thanks
Martin
I have the following query named as Qry_Rpt_02.
Code:
SELECT BaseData.FirstName, BaseData.LastName, BaseData.Title, BaseData.Department, HolidayBookings.Yearfld, Entitlement.Entitlementfld, BaseData.EmpTerm, HolidayBookings.DateBooked, HolidayBookings.HalfDay, IIf([Halfday] Like 0,"1","0.5") AS CountD
FROM (BaseData INNER JOIN HolidayBookings ON BaseData.ID = HolidayBookings.ID) INNER JOIN Entitlement ON BaseData.ID = Entitlement.Id
WHERE (((Entitlement.Yearfld) Like [Forms]![HolidayMainBasic]![ComboYear]));
On the attached image there is a button at the bottom that is called Holiday Detail Report. When you click that it loads the report using the query above. Report is shown in image3.
As you can see the report is showing another users holiday.
What is the easiest way of getting this report to show the correct users information, i.e. the user that is shown in image2.
Many Thanks
Martin