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

Multiple table report question 1

Status
Not open for further replies.

GEKLAW

IS-IT--Management
Jan 21, 2005
5
US
Hello everyone,

I am a fairly new user of crystal and would appreciate any help. I need to create a report that pulls from three tables; I will call them the contacts table, party table, and the client table. All three tables are linked via contact_id. The contact table has some records that are clients and some that are parties. I need to write a report that displays all the contacts that are not clients or parties.

I am using crystal reports pro ver 9 and I am reporting off of a sql database.

Thanks in advance for any help.
 
Use a left join FROM Contacts to Parties and a left join from Contacts to Clients. Then go to edit selection formula->record and enter:

isnull({Parties.ClientID}) and
isnull({Clients.ClientID})

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top