Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: between function Post Reply Post New Topic
Author Message
directred
Newbie
Newbie
Avatar

Joined: 26 Apr 2011
Online Status: Offline
Posts: 10
Quote directred Replybullet Topic: between function
    Posted: 05 May 2011 at 10:20am
Hi,
 
I wonder if anyone could tell me the syntax for between numbers.
 
An example would be;
 
1 F
2 F
3 F
4 G
5 G
6 G
7 H
8 H
9 H
10 H
 
If number 2 is selected then F is displayed. If no 6 is selected then G is displayed.
 
Is there a between function or would I be better using a CASE statement?
 
 
 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 May 2011 at 10:32am
if field in 1 to 3 then 'F' else
if field in 4 to 6 then 'G' else
if field in ...
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.