Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Selecting with null or no record in other table Post Reply Post New Topic
Author Message
bwilkins
Newbie
Newbie


Joined: 15 Sep 2008
Location: United States
Online Status: Offline
Posts: 2
Quote bwilkins Replybullet Topic: Selecting with null or no record in other table
    Posted: 15 Sep 2008 at 12:33pm
It's probably easier to go over my problem than try to describe it...

Simple two table query. A person table and an emailaddress table. I'm trying to select all people who are flagged as active ( based on field in the person table). The active people may have multiple email addresses. Possible types are business or personal.

I want the report to only show the business address. But when I run into a record in the person file with out a record in email table with type=business that person doesn't show on the report if I select email_type=BUS

But if I don't put that in I get multiple report lines with both the personal and business email addresses.

Thanks
IP IP Logged
Crystal Method
Newbie
Newbie
Avatar

Joined: 06 Oct 2008
Location: United Kingdom
Online Status: Offline
Posts: 15
Quote Crystal Method Replybullet Posted: 06 Oct 2008 at 9:00am
Try changing the link between tables to either a left or right outer join
 
Database - Visual linking expert - click on link to highlight, then select "Link Options"
Seagate Crystal Reports 8.5.0.389 in the guise of INFOR:Reports as part of Infor:COM ERP software.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.