G
Guest
Hello:
I hope you can help me with this.
I have a Table1 that contains, eg.:
CardId Date Time
10 15/01/05 12:00
10 15/01/05 14:00
11 20/01/05 10:00
12 15/01/05 10:00
12 20/01/05 13:00
so I have two dates in this table - 15/01/05 and 20/01/05)
Table2 (master id) table contains:
Card Id
10
11
12
13
The research question is to find records which have Card Id in Table 2
(master) and don't have a record for any of the unique dates in Table 1.
Basically, it is to compare two tables and to create a table with the result
Final result should be a table containing:
Card ID Date
10 20/01/05 (Card Id 10 has no record for this day in table1)
11 15/01/04 (Card Id 11 has no record for this day in table1)
13 15/01/04 (no record for any of these dates)
13 20/01/04 "
ID 12 is ok as it has a record of both dates and should not be added to the
query result.
It was working ok when I had a file with just one date in Table1 for all the
records - I was able to found unmached records in a couple or more of
queries. Now, the file may contain mulitiple dates and it does not work any
more.
Can you help please?
Danka
Thanks.
I hope you can help me with this.
I have a Table1 that contains, eg.:
CardId Date Time
10 15/01/05 12:00
10 15/01/05 14:00
11 20/01/05 10:00
12 15/01/05 10:00
12 20/01/05 13:00
so I have two dates in this table - 15/01/05 and 20/01/05)
Table2 (master id) table contains:
Card Id
10
11
12
13
The research question is to find records which have Card Id in Table 2
(master) and don't have a record for any of the unique dates in Table 1.
Basically, it is to compare two tables and to create a table with the result
Final result should be a table containing:
Card ID Date
10 20/01/05 (Card Id 10 has no record for this day in table1)
11 15/01/04 (Card Id 11 has no record for this day in table1)
13 15/01/04 (no record for any of these dates)
13 20/01/04 "
ID 12 is ok as it has a record of both dates and should not be added to the
query result.
It was working ok when I had a file with just one date in Table1 for all the
records - I was able to found unmached records in a couple or more of
queries. Now, the file may contain mulitiple dates and it does not work any
more.
Can you help please?
Danka
Thanks.