Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report 11 - Keeping a value in a report

Status
Not open for further replies.

nbay001

IS-IT--Management
May 21, 2007
12
US
Hi all,

I have a report that lists multiple machines. The machines contain a single value (lineal feet output).

Out of the multiple machines in my report I want to capture "Lineal Feet" output of just one and save it to the bottom of the report to do calculations.

I am assuming I will need a variable for this? In this case, the Machine = "35" and the value is 19500 lineal feet.

Thanks so much in advance.

P.Park
 
Write a formula called {@Feet35} that says:

If Machine = "35"
then {YourField.forLinealFeet}
else 0

Then you can refer to this value in any other formula by saying:

Maximum ({@Feet35})

Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guides to Formulas, Parameters, Subreports, Cross-tabs, VB, Tips and Tricks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top