Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding Fields in one datasource that are not in another 2

Status
Not open for further replies.

racskelly

IS-IT--Management
Apr 19, 2007
37
CA
I have two datasources related by a common trade_num field...


i want to find all of the trade_nums in datasource A that are not in datasource B...

how do I join those two tables.. I tried inner join - not enforced - != but it didn't work...

any ideas?

Thanks

Shane
 
Hi,
If your connection type and datasource allow it, use a Command instead of the tables themselves..:
Try
Code:
Select trade_num from TableA
MINUS
Select trade_num from tableB



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Do a left outer join from tableA to tableB, then in the Report->Record Seletion->Formula place:

isnull({tableB.id})

Now you get everything in A not in B.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top