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

Code in repots

Status
Not open for further replies.

heberto

Programmer
Jun 28, 2002
1
MX
I'm a Clarion 4 /W user.

I have a report with a header group band. I need to calculate a formula before printing the header group bando. What is the exact point of embed code for do it?

Thanks!
 
You could Create a seperate band, use a filter on it so that it doesn't print auto and then issue the print statement for this band yourself at "Before Printing Detail Section". Also use a var to make sure you only print it once for a break

Example :
If LastBreakValue <> CurrentBreakValue
LastBreakValue = CurrentBreakValue
Print(RPT:MyHeaderBand)
End

where CurrentBreakValue is the var you use for your break.

Hope it helps :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top