Crystal Reports 10.2 - What's wrong with this formula???

On the below formula, I keep getting a message when trying to save it: "A field is required here" starting with CCur all the way to the end.

formula = Sum (CCur ({tblReport.gallons}))
BlakeMcKennaAsked:
Who is Participating?
 
mlmccCommented:
Try

Sum (CCur (ToNumber({tblReport.gallons})))

mlmcc
0
 
mlmccCommented:
Try it this way

formula = CCur (Sum ({tblReport.gallons}))
 
mlmcc
0
 
BlakeMcKennaAuthor Commented:
Nope....same error message.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
mlmccCommented:
What data type is gallons?

mlmcc
0
 
BlakeMcKennaAuthor Commented:
It's declared as a Decimal.
0
 
mlmccCommented:
Is that the full formula?

Try using Crystal syntax
CCur (Sum ({tblReport.gallons}))
or
Sum (CCur ({tblReport.gallons}))

mlmcc
0
 
BlakeMcKennaAuthor Commented:
That didn't work either. Is there any way I can upload a screen shot of the error message I'm getting?
0
 
mlmccCommented:
YOu can use www.ee-stuff.com

mlmcc
0
 
BlakeMcKennaAuthor Commented:
I can't get your upload utility to work.
0
 
mlmccCommented:
You have to supply the link to this question, browse to the file and add a comment.  The comment is required.

mlmcc

0
 
BlakeMcKennaAuthor Commented:
I've tried this and it's not working. I click on the address link in Explorer and paste it into the Question textbox as well as the Comment and search for my desired file to u/l and it still doesn't work for me.
0
 
mlmccCommented:
You can't use the report file directly.  You need to zip it or change the extension to say TXT.

mlmcc
0
 
BlakeMcKennaAuthor Commented:
Ok, it's been uploaded....
0
 
mlmccCommented:
0
 
BlakeMcKennaAuthor Commented:
This is getting ridiculous....did you see the error message? Can you respond to it in the forum as any other response? I'm kinda lost right now as to what any response may have been.
0
 
mlmccCommented:
What data type is gallons?
Crystal thinks it is not numeric

Can you upload the report file itself?

mlmcc
0
 
BlakeMcKennaAuthor Commented:
it's not numeric...it's a string!
0
 
mlmccCommented:
Glad i could help

mlmcc
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.