Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Crystal Reports - Data Type Number Only 2 Decimal Places

Posted on 2011-09-15
5
Medium Priority
?
720 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
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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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. …
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 …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

572 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