Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: filling empty field from alternate source Post Reply Post New Topic
Author Message
FredOh
Newbie
Newbie
Avatar

Joined: 01 Apr 2009
Online Status: Offline
Posts: 18
Quote FredOh Replybullet Topic: filling empty field from alternate source
    Posted: 01 Oct 2013 at 10:07am
I'm working in Crystal XI. I'm trying to fill empty fields from an alternative source. I have two fields "first date" and "latest date".  I need the most recent contact. If the client has only contacted us once "latest date' will be empty. How do I get the report to return "latest date" and if "latest date" is null to return "first date" Thanks, Fredoh
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 01 Oct 2013 at 10:57am
are these both on the same row of data?
 
if isnull(table.latestdate) then table.firstdate else table.latestdate
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 03 Oct 2013 at 4:55am
and while it is implied, if they are different rows then you will need some way to 'track' the values, like a shared variable

just my 2 cents
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.