Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 25th, 2004, 06:49 AM
MLSrinivas MLSrinivas is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 9 MLSrinivas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 41 sec
Reputation Power: 0
Angry Decimal DataType

Hi,
I have a column ,Lines decimal(10,2).

The data in this column is not properly displayed in crystal reports.
Eg: the data in the column is 24.34, it's being displayed like 345234352

Why this is so? When the data type is int, there's no problem. Because of this I'm not able to display decimals in my report. Which data type in sql server is apt for my task.

Please help.

Thanks

M.L.Srinivas

Reply With Quote
  #2  
Old June 25th, 2004, 06:17 PM
spak111 spak111 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 349 spak111 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 25 sec
Reputation Power: 5
Send a message via AIM to spak111
You may just want to use the data type of float, which would give you what you need. Although it can store numbers much larger than what you declared in your decimal, it may fix your problem in the way that crystal reports is printing out your data.

Reply With Quote
  #3  
Old June 27th, 2004, 11:42 PM
Tonny-Soeroso Tonny-Soeroso is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 36 Tonny-Soeroso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 56 m 27 sec
Reputation Power: 0
May be i can share my experienced using crystal report. I have a problem using date time format. In SQL, i can execute my stored procedure correctly. The Date time format is 1900 -xx- xx 00:00. When i created in the crystal report. the data is in numeric value.
May be crystal report has a minimum datetime format. i guess that year 1900 doesn't really supported.



Reference to your problem, may be your datatype is overflow. Please check again.

Regards

Tonny

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > Decimal DataType


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT