Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Question about records in a left outer join Post Reply Post New Topic
Author Message
dpakk
Newbie
Newbie
Avatar

Joined: 13 Aug 2009
Location: United States
Online Status: Offline
Posts: 1
Quote dpakk Replybullet Topic: Question about records in a left outer join
    Posted: 13 Aug 2009 at 4:37pm
I have a problem with a report that uses a left outer join.  What we are trying to do is set a formula field and shared number variable to "0" if there is no record in the right table, and use the value in the right table if one exists.
 
What seems to be happening is that the formula works in cases where there is a value, but doesn't appear at all if there is no associated record in the right table.
 
Does anyone have any suggestions?
 
 
Thanks again for your time.
-Dan
Dan
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 13 Aug 2009 at 6:12pm
if isnull(field) then 0 else field
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.016 seconds.