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

Conditional Formatting based on Group Summary

Status
Not open for further replies.

Ryderson

Programmer
Mar 27, 2007
4
US
Hi. I have a report that requires me to print the details of a group in reverse font based on a total calculation of the entire group (BACASEID). Right now it will only print correctly if each line in the detail meets the criteria but only for that one detailed line (not the entire group).

The total formula for the variable (@FedReserve) is as follows:

//check the next case to see if group has changed
if next({BaCase.BaCaseID}) <> {BaCase.BaCaseID} then

//if same group then see whether calculation meets criteria
and print it on the last line of the group
if({@CalculateAccount} - {?SecurityPledge} > 0) then
{@CalculateAccount} - {?SecurityPledge}
else
0
// I have a suppress on the formula field if 0

What I need is for the entire detail line to print in reverse font if the @FedReserve variable is > 0

Is this possible?

 
Sorry for leaving version off, cr9 for visual studio .net

Also, I'm using a dataset (populated by sql)

 
You need to show the content of all nested formulas.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top