Solved

Formula Help for Crystal Report

Posted on 2014-04-19
3
337 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 101

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 101

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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Introduction Hopefully the following mnemonic and, ultimately, the acronym it represents is common place to all those reading: Please Excuse My Dear Aunt Sally (PEMDAS). Briefly, though, PEMDAS is used to signify the order of operations (http://en.…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

724 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