Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: formula to select certain records Post Reply Post New Topic
Author Message
Paula J
Groupie
Groupie
Avatar

Joined: 22 Aug 2011
Location: United States
Online Status: Offline
Posts: 51
Quote Paula J Replybullet Topic: formula to select certain records
     Posted: 26 Mar 2013 at 2:49pm
I have a report that looks at accounts which have at least one E  code and
possibly up to 15 but I only want to pull up to the first 3.    
If the account only has 2 E codes then ter e code column would be blank and if only 1 E code then sec e code column would also be blank.
acct #    prim e code  sec e code  ter e code
123        E8190            E0008         E0299
456        E6000            E0030
789        E3001
 
I need to know how to write the formula that will pull the first thru third E codes and ignore any code is not an E code or is the 4th or greater E code.
 
The E codes are in the dx cd records
               
dx_cd_1
dx_cd_2                
dx_cd_3  
dx_cd_4
up to....                
dx_cd_15
 
 
Paula J
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