Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Crystal 10 Formula Fun Post Reply Post New Topic
Author Message
ja_cote
Newbie
Newbie


Joined: 09 Jul 2008
Online Status: Offline
Posts: 12
Quote ja_cote Replybullet Topic: Crystal 10 Formula Fun
    Posted: 27 Apr 2009 at 10:55am
Hiya,
 
I am stuck with a formula, or at least I think it can be handled with a formula.
 
What I want to do is remove data from a report if the following condition is true.
 
If The Qty "Received" is at least 90% of the Qty "Ordered" then I don't want to see it on the report.
 
Example:
 
100 widgets ordered
95 widgets received
Condition is satisfied, don't show on report
 
 
100 widgets ordered
80 widgets received
I need to see these lines on the report...It is not 90% or better match...
 
On my report, I do have the two fields to report from - QtyOrdered and QtyReceived - data populates in both depending on the status of the order.
 
Thanks for any help you might have....


Edited by ja_cote - 27 Apr 2009 at 10:56am
Jeff in New Hampshire
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 27 Apr 2009 at 11:55am
assuming you are not summing to get your quantities then in your select statment add:
{table.qtyreceived} % {table.qtyordered}<90
IP IP Logged
ja_cote
Newbie
Newbie


Joined: 09 Jul 2008
Online Status: Offline
Posts: 12
Quote ja_cote Replybullet Posted: 27 Apr 2009 at 12:27pm

Excellent, thanks...This did work.  Easier than I thought...back to the crystal reports 101 class... LOL

Jeff in New Hampshire
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.000 seconds.