Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Compare two fields If than Post Reply Post New Topic
Author Message
esther31
Groupie
Groupie


Joined: 19 Dec 2011
Online Status: Offline
Posts: 50
Quote esther31 Replybullet Topic: Compare two fields If than
     Posted: 22 Nov 2012 at 5:08am
Hello
 
I want to compare two formula  @Number and #toalCorD and if @Number is less than #totalCorD then LOWER else HIGHER
 
is this possible?
IP IP Logged
shanth
Groupie
Groupie


Joined: 06 Aug 2012
Location: United States
Online Status: Offline
Posts: 75
Quote shanth Replybullet Posted: 23 Nov 2012 at 5:45am
Yes in most cases, unless if there is any specific issue:
IF {@Number}<{#totalCorD} THEN 'LOWER' ELSE 'HIGHER'
IP IP Logged
esther31
Groupie
Groupie


Joined: 19 Dec 2011
Online Status: Offline
Posts: 50
Quote esther31 Replybullet Posted: 25 Nov 2012 at 10:22pm
worked perfectly thank you, i had my logic back to front!
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