total a calculated field in report in access 2000

I have a field in my report that contains the following calculation ([Total(mins)]\60 & Format([Total(mins)] Mod 60,"\:00")). I cannot get the report to total this field. The error returned is "The expression is typed incorrectly, or it is too complex to be evaluated" I promise I have tried to fix this but failed. Help would be appreciated.
howardlAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GRayLCommented:
What is your Function Total?
GRayLCommented:
I have A2003 and its Aggregate functions do not include Total()
GRayLCommented:
Maybe you want Sum()??
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

howardlAuthor Commented:
Hi GRayL

Sum() doesn't work, that's when I get the error. I've tried putting sum round the calculation but it makes no difference.
als315Commented:
If this question is related to your previous:
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_26668668.html
try to use:
 (Sum([Total(mins)])\60 & Format(Sum([Total(mins)]) Mod 60,"\:00"))
howardlAuthor Commented:
That is what I did and it returns that error. Thanks anyway als315
GRayLCommented:
My point earlier was that there is no such function as Total() - unless you created it as a user defined function.  In the Immediate Pane type this example

mins = 689
? Int(mins/60) & (Mins Mod 60)
11:29

Is the line above the output format you want?

If not, can you show us what you want your formatted result to look like if mins = 689 ?
als315Commented:
I suppose Total(mins) is a field name. If you have [Total(mins)] in source query and report have same name of field, change field name in report to
Total(mins)1, for example, and try same:
(Sum([Total(mins)])\60 & Format(Sum([Total(mins)]) Mod 60,"\:00"))

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
howardlAuthor Commented:
Thanks als315. That did it
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.