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!

Sum formula query

Status
Not open for further replies.

KhushiRaina

Programmer
Oct 9, 2002
32
IN
Hi,
Anyone knows how to use the formula
:- sum({fld},{condfld},{cond})
When i am trying to use as follows :-
Sum({orders.AMOUNT}, {orders.DATE}, "monthly")
It given an error -
A summary/running total field cannot be created.

Any suggestion.........ssssss

Khushi.
 
The condition field and condition has to match the current grouping of your report. So, this will only work in a report that is grouped on that date, and set to monthly. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Hi Ken,
Its working with date, but if i give
Sum ({Orders.Order Amount},{Orders.Order ID} , "1002")
its giving same error.I have done grouping on order id too.
What should i do now...

Khushi.
 
The third argument is only for dates. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Hi Ken,
Thanks for the info, i really appreciate for giving your valuable time.Thanks again.
Khushi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top