BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FieldByName.('aFieldname').AsFloat with 6 digits

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OO design
View previous topic :: View next topic  
Author Message
FT
Guest





PostPosted: Mon Oct 17, 2005 7:10 pm    Post subject: FieldByName.('aFieldname').AsFloat with 6 digits Reply with quote



Hi everybody,

I know that this is an old topic but I cannot figute out how to solve my
problem anyways ...

I have a DECIMAL(13,6) in a TField (read from a MS SQL Server) but if
read it using <TField>.AsFloat I always get 4 digits only, instead of 6
-- what can I do?



Thank you for your help
greetings
Florian

Back to top
Marc Rohloff [TeamB]
Guest





PostPosted: Mon Oct 17, 2005 11:48 pm    Post subject: Re: FieldByName.('aFieldname').AsFloat with 6 digits Reply with quote



On Mon, 17 Oct 2005 21:10:47 +0200, FT wrote:

Quote:
I have a DECIMAL(13,6) in a TField (read from a MS SQL Server) but if
read it using <TField>.AsFloat I always get 4 digits only, instead of 6
-- what can I do?

Its not really the right forum either, however what does it look like
if you read it using the SQL Server tools? Have you set your edit
mask?


--
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com

Back to top
FT
Guest





PostPosted: Tue Oct 18, 2005 7:50 am    Post subject: Re: (moved to 'borland.public.delphi.database.sqlservers') Reply with quote



Quote:
Its not really the right forum either (...)

.... yes, you are right, I am moving this thread to
'borland.public.delphi.database.sqlservers', being a bit more precise
there, too.

Greetings
Florian

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OO design All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.