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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List of Records without Email Address

Status
Not open for further replies.

Kudai

MIS
May 18, 2005
2
ZA
Hi All I'm looking for a report that list all the records within my data base that do not, have an email address
 
If its any help then this is the sql query code to show you the list of records, from here you are able to output it to excel etc..

This just shows you the account number and the company fields. If you need to add the contact field then put a "," after the "c1.company," and then on the next line put c1.contact and do not put a "," at the end of the line.

I hope this helps you. Any issue let me know

Code:
SELECT distinct
C1.Accountno,
C1.company
From 
Contact1 C1
WHERE 
C1.AccountNo NOT IN
(Select AccountNo from Contsupp where Contact = 'E-mail Address')
 
Thank you very very much M8KWR it worked like a charm.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top