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

Beginning A/R - Ending A/R calculation

Status
Not open for further replies.

dean12

MIS
Oct 23, 2001
273
US
So I have three values "CHGS", "PMTS", and date. I want to create a report that looks like this:


Date Beg. A/R CHGS PMTS End A/R
----- -------- ---- ---- -------
1/02 0 100 50 50
2/02 50 100 0 150
3/02 150 0 50 100
---- ---- -------
200 100 100


It doesn't look to me as if a running total will be of much benefit. Do I have to do this by hand - creating variable and doing the math myself?
 
Place your date field (sorted by this of course).

Flank CHGS and PMTS with these 2 formula fields:

//Beg A/R
previous({@End A/R})

//End A/R
evaluateafter(@Beg a/r);
({@Beg A/R} + {MyTable.chgs})- {MyTable.pmts}

Should work.

-k kai@informeddatadecisions.com
 
Previous - darn that was what I needed.

Thanks very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top