G
Guest
I have 3 tables with the following fields:
Tbl531:
ACTIVITYDATE
RACF
DAILYHOURSWORKED
TblPhone:
ACTIVITYDATE
RACF
DAILYHOURSWORKED
TblException:
SCHEDULE_START_DATE
RACF
Exception_Time: DateDiff('n',[start_time],[end_time])/60
What I would like to accomplish is a full-outer join of these three tables.
I want all records in the 531, phone and Exception tables to be matched on
the Date and RACF fields unless no match. There should be no days in the
phone table which do not exist in the 531 table, however, it is very possible
to have no data or multiple records available on a given day in the exception
table.
I have tried doing a left join on the 531 and Phone tables, and then a right
join on the resulting data set and the exception table. Not working so
well.....
Please help at a loss.
Tbl531:
ACTIVITYDATE
RACF
DAILYHOURSWORKED
TblPhone:
ACTIVITYDATE
RACF
DAILYHOURSWORKED
TblException:
SCHEDULE_START_DATE
RACF
Exception_Time: DateDiff('n',[start_time],[end_time])/60
What I would like to accomplish is a full-outer join of these three tables.
I want all records in the 531, phone and Exception tables to be matched on
the Date and RACF fields unless no match. There should be no days in the
phone table which do not exist in the 531 table, however, it is very possible
to have no data or multiple records available on a given day in the exception
table.
I have tried doing a left join on the 531 and Phone tables, and then a right
join on the resulting data set and the exception table. Not working so
well.....
Please help at a loss.