Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Formula Help Post Reply Post New Topic
Author Message
kgbo
Newbie
Newbie


Joined: 26 Jun 2013
Online Status: Offline
Posts: 30
Quote kgbo Replybullet Topic: Formula Help
    Posted: 25 Jul 2013 at 3:03am

I want to select a CPT code if it has more than 12,000 units. 

How would I write this formula?
IP IP Logged
praveeng
Senior Member
Senior Member
Avatar

Joined: 11 Jul 2011
Online Status: Offline
Posts: 165
Quote praveeng Replybullet Posted: 25 Jul 2013 at 3:22am
Could you elabrate your requirement with some sample data
Praveen Guntuka,
praveen_guntuka@yahoo.com
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 25 Jul 2013 at 4:46am
if {table.field} > 12000 then
{table.cptCode}
else
""

if this is in the filtering formulas for the report it would just be

{table.field} > 12000

HTH

ps at least I think this is what you want
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.031 seconds.