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

Creating % ON SUBTOTAL

Status
Not open for further replies.

Ericordina

Technical User
Nov 28, 2006
10
NL
Hello,


I become mutch better with webfocus. And right now i have an report wich have have 2 hold files to combine 2 statements in one report.
To give them an total i have used the subtotal option.

However when i tried to create an compute to calculate the %
than the result is not goed (compute percent.f7%=(percent/tot.percent)*100;)

This is necessesary so that in the above part of the report i get the numbers and in the beneath part of the report i get the %.

I have tried to calculate with TOT. but in the hold file or in the last report this gives not the right result.

The numbers are correct so it is the compute wich is the problem

greetings

eric
 
Can you supply a sample of your code? If you want a COMPUTE calculation done at a sort field break, you might try SUMMARIZE or RECOMPUTE, rather than SUBTOTAL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top