?
Solved

Crystal Reports conditional formula execution based upon field contents

Posted on 2016-10-28
5
Medium Priority
?
30 Views
Last Modified: 2016-11-19
I developed an Order Backlog report to forecast anticipated billing dates. Some of our orders are "progress billings"... where the order is based upon various milestones:
  • First 1/3 with Purchase Order
  • Second 1/3 at delivery
  • Final 1/3 at plant approval

The Prog Billing2, Prog Billing3 and Prog Billing3 dates are calculated from the Start Date and the 1st Shot Date using the formula: DateADD ("d", 90, {OrderDet.User_Date1})

If the Terms are something other than a Progress Billing Term code, I don't want the dates to appear under the Prog Billing2, Prog Billing3 and Prog Billing3 headings.

I've tried using IF IsNull{OrderDet.CumulativeBilling... if blank then ProgBill2, etc should also be blank. But it could be a progress billing that the first billing hasn't occurred yet. I think the better condition is to check the TERMS. If Terms DO NOT START with Prog, then suppress/blank ProgBill2, ProgBill3 and ProgBill4 dates.

Order Backlog Design View
Order-Backlog-Progress-Billings.pdf

Thanks for any suggestions.
Regards, Lee
0
Comment
Question by:Lee Ingalls
[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
  • 2
5 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points (awarded by participants)
ID: 41864600
Try it this way

NOT({TermsField}  LIKE '*PROG*')

mlmcc
0
 
LVL 9

Author Comment

by:Lee Ingalls
ID: 41867175
Michael,

Thanks for the response.
Are you suggesting I add the NOT({TermsField}  LIKE '*PROG*') to my ProgBill formula?
If so, I'm not certain how??

NOT({Orders.User_Text2} LIKE '*PROG*')
DateADD ("d", 90, {OrderDet.User_Date1})

The ProgBilling2 field is the StartDate Field plus 90 days using ProgBill2 formula:  
DateADD ("d", 90, {OrderDet.User_Date1})

The ProgBilling3 field is the 1StShotDate field plus 120 days using ProgBill3 formula:
DateADD ("d", 120, {OrderDet.User_Date2})

Regards, Lee
ProgBill2-formula.pdf
0
 
LVL 101

Assisted Solution

by:mlmcc
mlmcc earned 2000 total points (awarded by participants)
ID: 41867198
I meant  for you to use the formula as the SUPPRESSION formula for the field

mlmcc
0
 
LVL 9

Author Comment

by:Lee Ingalls
ID: 41867334
Perfect.
You are the man!
Thanks Michael.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

743 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