Solved

Formula Help for Crystal Report

Posted on 2014-04-19
3
318 Views
Last Modified: 2014-05-11
I need some assistance trying to come up with a formula in crystal.  Attached is a picture that I think should give you what you need, along with the below txt.

Currently 5 (ItemDemand.ReOrdQTY) is the correct answer for "# of packages to Reorder to Max", although there are rare times when the answer needs to change. When 1 is greater than 4 then 5 should be replaced by 4-2+3 (Please see picture for table information)
tables.jpg
0
Comment
Question by:Mcottuli
  • 2
3 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 40011369
Try this

You need to replace the fields with your field names

If ({Field1} > {Field4}) then
    {Field4} - {Field2} + {Field3}
Else
    {Field5}

mlmcc
0
 
LVL 1

Author Comment

by:Mcottuli
ID: 40011429
i tried that but the field are actually Sum of (field) in a couple cases. should it matter ?
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 40011815
So long as you are in the same scope it shouldn't matted

mlmcc
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Common Records between Sub Queries 4 26
SQL Server 2012 rs - Sum each category by month 4 32
Count with a subquery showing details 10 44
SQL Help 27 45
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
PL/SQL can be a very powerful tool for working directly with database tables. Being able to loop will allow you to perform more complex operations, but can be a little tricky to write correctly. This article will provide examples of basic loops alon…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question