Solved

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

Posted on 2007-04-06
18
419 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
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 100

Expert Comment

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

mlmcc
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

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

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 100

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 100

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 100

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 100

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 100

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 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 19008233
Try

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

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 19019852
Glad i could help

mlmcc
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal Reports Swap Columns 2 57
Crystal reports subreports as total of main report 13 70
Crystal Report for VS2013 17 105
Crystal Reports 7 VB6  'Feature Not Enabled' Error 10 22
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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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