I am using Crystal Reports XI against SQL server tables.
I have 3 SQL tables.
Table A – stores all contract numbers
Table B – uses the data element contract number
Table C - uses the data element contract number
I want to identify all contract numbers in Table A that are not found in either Table B or C.
This is what I've tried.
In Crystal, I joined Table A to Table B linking contract number field. Also, I joined Table A to Table C linking contract number field. I changed the link proporties to Left Outer Join for both links.
My selection criteria is
Isnull({TableB.contract_num}) and
Isnull({TableC.contract_num})
For some reason, I'm getting contract numbers on my report that are found in tables B and C.
Any ideas on what I'm doing wrong?
Thanks in advance for the knowledge.
TimothyP
I have 3 SQL tables.
Table A – stores all contract numbers
Table B – uses the data element contract number
Table C - uses the data element contract number
I want to identify all contract numbers in Table A that are not found in either Table B or C.
This is what I've tried.
In Crystal, I joined Table A to Table B linking contract number field. Also, I joined Table A to Table C linking contract number field. I changed the link proporties to Left Outer Join for both links.
My selection criteria is
Isnull({TableB.contract_num}) and
Isnull({TableC.contract_num})
For some reason, I'm getting contract numbers on my report that are found in tables B and C.
Any ideas on what I'm doing wrong?
Thanks in advance for the knowledge.
TimothyP