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

formula

Status
Not open for further replies.

thorny00

Programmer
Joined
Feb 20, 2003
Messages
122
Location
US
I new at this CR formula stuff so please bear with me.
Basically I want to do the following:
SUM {mtgterms.loanamt}, {codes.prodd} when {codes.appstatn = 'Y'

ie
sum the loanamt for each prodd when the appstatn equals Y

Thanks in advance for all the help!
 
Create a Running Total (Insert->Field Object->Right click Running Totals and Select New) on:

{mtgterms.loanamt}

Reset at

{codes.prodd}

and in evaluate use a formula place the criteria:

{codes.appstatn} = 'Y'

-k
 
Or you could create a formula:

if {codes.appstatn} = 'Y' then {mtgterms.loanamt} else 0

Then insert a sum on this at the group level.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top