Solved

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

Posted on 2007-04-06
18
417 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
  • 10
  • 8
18 Comments
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Try it this way

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

Author Comment

by:BlakeMcKenna
Comment Utility
Nope....same error message.
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
What data type is gallons?

mlmcc
0
 

Author Comment

by:BlakeMcKenna
Comment Utility
It's declared as a Decimal.
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Is that the full formula?

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

mlmcc
0
 

Author Comment

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

Expert Comment

by:mlmcc
Comment Utility
YOu can use www.ee-stuff.com

mlmcc
0
 

Author Comment

by:BlakeMcKenna
Comment Utility
I can't get your upload utility to work.
0
 
LVL 100

Expert Comment

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

mlmcc

0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:BlakeMcKenna
Comment Utility
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 100

Expert Comment

by:mlmcc
Comment Utility
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
Comment Utility
Ok, it's been uploaded....
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
0
 

Author Comment

by:BlakeMcKenna
Comment Utility
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 100

Expert Comment

by:mlmcc
Comment Utility
What data type is gallons?
Crystal thinks it is not numeric

Can you upload the report file itself?

mlmcc
0
 

Author Comment

by:BlakeMcKenna
Comment Utility
it's not numeric...it's a string!
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
Comment Utility
Try

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

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Glad i could help

mlmcc
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now