I am pretty new you access. <= one week : )
I have a database that contains two tables. Each table has two fields.
The data in the left column is the same for each table. It is a naming convention used for a campaign. Lets call that field tbl_Name. The second field in each table is used for tracking a campaign number. Lets call this table tbl_campaignNumber.
Ex:
Table 1
tbl_Name | tbl_campaignNumber
EVBB000 | 19232
EVBB000 | 19233
EVBB000 | 19234
EVBB000 | 19235
Table 2
tbl_Name | tbl_campaignNumber
EVBB000 | 19232
EVBB000 | 19233
EVBB000 | 19234
EVBB000 | 19236
EVBB000 | 19237
EVBB000 | 19238
The second table is a master list. It should have every campaign number. I am hoping someone can help me figure out how to write a query that will return campaign numbers that do not appear in table 2 but are inside table 1.
In the above example it would return - EVBB000 | 19235 since that is in table 1 but not inside table 2. I hope this makes sense : )
I have tried to do an unmatched query using the wizard and the result came back with nothing. Any help would be really appreciated.
Thanks in advance.
I have a database that contains two tables. Each table has two fields.
The data in the left column is the same for each table. It is a naming convention used for a campaign. Lets call that field tbl_Name. The second field in each table is used for tracking a campaign number. Lets call this table tbl_campaignNumber.
Ex:
Table 1
tbl_Name | tbl_campaignNumber
EVBB000 | 19232
EVBB000 | 19233
EVBB000 | 19234
EVBB000 | 19235
Table 2
tbl_Name | tbl_campaignNumber
EVBB000 | 19232
EVBB000 | 19233
EVBB000 | 19234
EVBB000 | 19236
EVBB000 | 19237
EVBB000 | 19238
The second table is a master list. It should have every campaign number. I am hoping someone can help me figure out how to write a query that will return campaign numbers that do not appear in table 2 but are inside table 1.
In the above example it would return - EVBB000 | 19235 since that is in table 1 but not inside table 2. I hope this makes sense : )
I have tried to do an unmatched query using the wizard and the result came back with nothing. Any help would be really appreciated.
Thanks in advance.