?
Solved

Crystal Reports - Data Type Number Only 2 Decimal Places

Posted on 2011-09-15
5
Medium Priority
?
706 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
[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
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:wkrasner
ID: 36542853
Right click the field go to format and format as number with decimals then expand field width
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 36542974
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
ID: 36544447
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 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 36544784
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
ID: 36548006
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
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 …

765 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