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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running total field inserted but does not display on run

Status
Not open for further replies.

dinshak

Technical User
Oct 31, 2007
39
US
I have inserted a running total field on the sub-report but it does not display when I run the report.

There are other running total fields on the sub-report that display porperly.

I am new to this and am working on a previously created report. Any help is appreciated as to why this running total field does not display the value when all others do.
 
So, what does the running total do?
What are the restrictions, on what does it evalute etc?
 
Field to summarize:
Result.Formatted_Entry

Type of summary:
maximum

Evaluate use a formula:
InStr ({RESULT.REPORTED_NAME}, 'TSA Lot') > 0

Reset on change of group:
Group#3: @Pos2-A

 
Where is it placed? Unlike a summary, a running total accumulates values at the same time as detail lines are printed. If you're not already familiar with Crystal's automated totals, see FAQ767-6524.

It also helps to give your Crystal version - 8, 8.5, 9, 10, 11 or whatever. Methods sometimes change between versions, and higher versions have extra options.


[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Do a test version with an extra display lines, and put the running total there. This will show exactly where the problem occurs.

You could also put the formula in a formula field, this would make it a Boolian, returning True or False and this can be displayed.

I'd have done the test as
Code:
"TSA Lot" in {RESULT.REPORTED_NAME}
Or even
Code:
{RESULT.REPORTED_NAME} LIKE "TSA Lot"

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top