Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Basic formula Post Reply Post New Topic
Author Message
sbumbaugh
Newbie
Newbie


Joined: 12 May 2011
Location: United States
Online Status: Offline
Posts: 3
Quote sbumbaugh Replybullet Topic: Basic formula
    Posted: 12 May 2011 at 2:29am
I am using a basic formula, total quantity ordered divided by Case quantity - example: 49/43 answer is 1.14.  I need th answer to display as
1 (1 full case) 6 (loose)
sbumbaugh
IP IP Logged
FrnhtGLI
Senior Member
Senior Member
Avatar

Joined: 22 May 2009
Online Status: Offline
Posts: 347
Quote FrnhtGLI Replybullet Posted: 13 May 2011 at 2:20am
totext(truncate({quantity.ordered}/{case.quantity}), 0) & ' (full case(s)) '
&
totext(remainder({quantity.ordered}, {case.quantity}), 0) & ' (loose)'
|< /\ '][' ( )
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.027 seconds.