Solved

Crystal Reports - Data Type Number Only 2 Decimal Places

Posted on 2011-09-15
5
686 Views
Last Modified: 2012-05-12
Hi

I have Crystal Reports linked to SQL Server. In SQL Server, my number is 0.2025. Crystal has given this a datatype of "Number", which seems limited to 2 decimal places

What do i need to do, to get it to recognise that it is actually 4 decimals ?

I am in Crystal 11, and my query is created using a command

Thanks
0
Comment
Question by:seancurt
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:wkrasner
Comment Utility
Right click the field go to format and format as number with decimals then expand field width
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
There is also a decimal control onthe toolbar.  It looks like 0.00 with a curved arrow under it to the right and left

If it isn't just the display what is the issue?

mlmcc
0
 

Author Comment

by:seancurt
Comment Utility
Hi

No it isn't the display. I have already set it to show 4 decimal places. The problem is it is only pulling out of the database at 2 decimal places. If I right click and choose browse data on the field, it says "0.20" but the database says "0.0205"
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
Comment Utility
Try this though you might have to create a new report for the change to take effect.

Click FILE --> OPTIONS
Click the FIELDS tab
Click NUMBER
Click the NUMBER tab
Choose the 4 decimal place as the default
Click OK to return
Check your report
If you still only see 2 decimals try creating a new report using that table

mlmcc
0
 

Author Closing Comment

by:seancurt
Comment Utility
Hi

This worked great, thanks

FYI - you don't need to recreate the report, but you do need to delete and re-add the fields

Thanks again
0

Featured Post

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.

Join & Write a Comment

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 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

9 Experts available now in Live!

Get 1:1 Help Now