Hi Folks
cr 9.0
ms sql
i have this report and need to show all contact that does not match the the rep_alias table
in ms sql query designer i used this
***************************************
select contact_id
from contact
where contact_id not in (select contact_id from rep_alias ra, firm f where ra.firm_id = f.firm_id and channel = 'NBD')
********************************
returns 267294 records
now my report i have 3 tables
contact---------------rep_alias------------firm
contact_id>>>>>>contact_id
**************firm_id>>>>>>>>firm_id
***************************channel
the > means my link to table are base on these field.
in my record selection of the report i have this
not(contact.{contact_id} in [rep_alias.contact_id}])
and
firm.channel = 'NBD'
NOTE the tables are link to =
result 0 records return
i baffle why no record return??????? :-(
Can someone plz help me
thanks
fsreport
cr 9.0
ms sql
i have this report and need to show all contact that does not match the the rep_alias table
in ms sql query designer i used this
***************************************
select contact_id
from contact
where contact_id not in (select contact_id from rep_alias ra, firm f where ra.firm_id = f.firm_id and channel = 'NBD')
********************************
returns 267294 records
now my report i have 3 tables
contact---------------rep_alias------------firm
contact_id>>>>>>contact_id
**************firm_id>>>>>>>>firm_id
***************************channel
the > means my link to table are base on these field.
in my record selection of the report i have this
not(contact.{contact_id} in [rep_alias.contact_id}])
and
firm.channel = 'NBD'
NOTE the tables are link to =
result 0 records return
i baffle why no record return??????? :-(
Can someone plz help me
thanks
fsreport