Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Pick Later Date Field Post Reply Post New Topic
Author Message
JENG
Newbie
Newbie


Joined: 13 Aug 2011
Online Status: Offline
Posts: 2
Quote JENG Replybullet Topic: Pick Later Date Field
     Posted: 13 Aug 2011 at 3:53am
I am pulling information from a SQL program that has 2 fileds for differnt approval dates, Mechanical and Electrical.  I am needing to pick between the 2 fields and show which one has the later date, this will be the returned from Engineering date...  Currently using Crystal 2008. 
IP IP Logged
sph123
Newbie
Newbie


Joined: 14 Aug 2011
Online Status: Offline
Posts: 3
Quote sph123 Replybullet Posted: 15 Aug 2011 at 1:51am
Hi use IF statement see below

  IF Mechanical > Electrical THEN Mechanical
  ELSE Electrical
IP IP Logged
JENG
Newbie
Newbie


Joined: 13 Aug 2011
Online Status: Offline
Posts: 2
Quote JENG Replybullet Posted: 16 Aug 2011 at 12:21am
Thanks, worked correctly
IP IP Logged
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