Solved

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

Posted on 2007-04-06
18
423 Views
Last Modified: 2008-02-01
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}))
0
Comment
Question by:BlakeMcKenna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 10
  • 8
18 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 18865313
Try it this way

formula = CCur (Sum ({tblReport.gallons}))
 
mlmcc
0
 

Author Comment

by:BlakeMcKenna
ID: 18865380
Nope....same error message.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 18865392
What data type is gallons?

mlmcc
0
[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

 

Author Comment

by:BlakeMcKenna
ID: 18865398
It's declared as a Decimal.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 18865447
Is that the full formula?

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

mlmcc
0
 

Author Comment

by:BlakeMcKenna
ID: 18866047
That didn't work either. Is there any way I can upload a screen shot of the error message I'm getting?
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 18867197
YOu can use www.ee-stuff.com

mlmcc
0
 

Author Comment

by:BlakeMcKenna
ID: 18867336
I can't get your upload utility to work.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 18867974
You have to supply the link to this question, browse to the file and add a comment.  The comment is required.

mlmcc

0
 

Author Comment

by:BlakeMcKenna
ID: 18875747
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
 
LVL 101

Expert Comment

by:mlmcc
ID: 18875919
You can't use the report file directly.  You need to zip it or change the extension to say TXT.

mlmcc
0
 

Author Comment

by:BlakeMcKenna
ID: 18876087
Ok, it's been uploaded....
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 18876553
0
 

Author Comment

by:BlakeMcKenna
ID: 18876628
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
 
LVL 101

Expert Comment

by:mlmcc
ID: 18876733
What data type is gallons?
Crystal thinks it is not numeric

Can you upload the report file itself?

mlmcc
0
 

Author Comment

by:BlakeMcKenna
ID: 18876841
it's not numeric...it's a string!
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 19008233
Try

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

mlmcc
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 19019852
Glad i could help

mlmcc
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question