N
Newboy 21
the SQL below allows me to join 2 similar tables together by The Date field
and then show the results in date order, the problem I now have is that want
to query the USER_NAME from a NAME table using the NAME_CODE
SELECT Date, Dpt, "" AS NAME_CODE
FROM Reminder_Dates
UNION ALL SELECT Date, Dpt, NAME_CODE
FROM Reminder_Users
ORDER BY Date;
and then show the results in date order, the problem I now have is that want
to query the USER_NAME from a NAME table using the NAME_CODE
SELECT Date, Dpt, "" AS NAME_CODE
FROM Reminder_Dates
UNION ALL SELECT Date, Dpt, NAME_CODE
FROM Reminder_Users
ORDER BY Date;