Hi
I have the following query:
Select tblReservation.date, tblReservation.programcode_ID, Sum(tblReservation.number_pers) AS [Total pp Program]
FROM tblReservation
GROUP BY tbrReservation.date, tblReservation.programcode_ID
It works perfectly. It shows the date of the reservation, the programID and the total # of persons who are in all reservations.
Now there is one problem, I want it to show not the programcode_ID, but the program_name form tblPrograms
How can I fix this? I tried several things but it didn't work
I'm using Access 2000
Ironis
I have the following query:
Select tblReservation.date, tblReservation.programcode_ID, Sum(tblReservation.number_pers) AS [Total pp Program]
FROM tblReservation
GROUP BY tbrReservation.date, tblReservation.programcode_ID
It works perfectly. It shows the date of the reservation, the programID and the total # of persons who are in all reservations.
Now there is one problem, I want it to show not the programcode_ID, but the program_name form tblPrograms
How can I fix this? I tried several things but it didn't work
I'm using Access 2000
Ironis