Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 13 Oct 2008 at 11:54am
You can do this by adding the "Else If"keyword to your logic. Here is sample code:
IF ({deneme.deneme2} in 11 to 88) then
"you're good"
ELSE IF ({deneme.deneme2} in 89 to 118) then
"you're so good"
ELSE IF ({deneme.deneme2} in 119 to 200) then
"you're the ultimate in good";
I have the complete Crystal syntax documented with sample code in my Encyclopedia book. You can find out more about my books at Amazon.com or reading the Crystal Reports eBooks online.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 13 Oct 2008 at 7:02pm
I don't understand your question. You test for "11 to 88" two times with differerent results. Did you put the wrong numbers in the second part? Shouldn't it be 89 to 118? And why did you put the "AND" in there? Confused...
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
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