troubleshooting Question

How to Add a Formula to Totals at the end of report

Avatar of Carlo
CarloFlag for United States of America asked on
Crystal Reports
14 Comments1 Solution368 ViewsLast Modified:
Scenario.
I have a report which shows two orders going out and a netamount of 531.58.
Problem here is that the order did not go out twice. It was backorder so when the other
items came we shipped those out.
In the report if we were to add this netamount field to the end of the report, it would be inacurate.

So I created a formula, {NetAmount}, to show me just the first order and if second order shows to show a zero for netamount.

Here is the {NetAmount} code:

if OnFirstRecord or {SYSOENT.ORDER_NO} <> Previous({SYSOENT.ORDER_NO}) then
   {SYSOENT.NET_AMT} else
0

This works fine. Problem is when I go to create a running totals field in the field explorer, the {NetAmount} Formula does not show. Where did I go wrong?
i just want to be able to add the formula and show this at the end of the report.

Thanks.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros