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

Totals of some sums???? 1

Status
Not open for further replies.

sandora

Technical User
May 17, 2005
57
US
Ver 11, Access DB - Making a Balance Sheet. Here is what I have:

(GH1) Assets
(GF2) Cash 644,807
AR 573,803
Etc...
(GF1) Total 21,161,638

(GH1) Liabilities
(GF2) AP 175,996
Acc.Liab 209,639
Etc...
(GF1) Total 23,018,646

(GH1) Equity
(GF2) Beg Capital 1,000
(GF1) Total 1,000
(RFa) RetEarnings (1,858,007)
(RFb) Total Equity (1,857,007)

Total Liabilities & Equity 1,000

Obviously Total Liab and Equity isn't correct. I can't get total liabilities and total equity to add together. I tried this formula:

if {@AcctCat} in ["Liabilites","Equity"]

then Sum ({@Total Acct#}, {@AcctCat})

without success. If this is not enough info please let me know.
 
Since you don't share what's in your formulas, it's hard to state exactly what to do.

You might be able to just use a Running Total of your formula and in the Evaluate->Use a Formula place:

{@AcctCat} in ["Liabilites","Equity"]

Or create a formula in the group footer to create a sum which has:

whileprintingrecords;
numbervar MySum;
if {@AcctCat} in ["Liabilites","Equity"]
MySum:=MySum+{@formula}

then display it at the report footer using:

whileprintingrecords;
numbervar MySum;

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top