🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #410

Re: Why have I got wrong record from this table?

#410
From: ht
Date: Fri, 03 Nov 2006 07:28
25 lines
2263 bytes
"Clayton Arends" <nospam_claytonarends@hotmail.com> д����Ϣ����:454a2986$1@newsgroups.borland.com...
> When I first read your second message it appeared to me that you 
> accidentally replied to your own message.  However, I just read it again 
> and saw that you changed a 31 to a 30.  For future reference, when you are 
> correcting something you wrote please make it obvious.  For instance:
>
>  I mistyped the bad date.  It should have been "2006-11-20 12:12:30".
>
> This would make it apparent why the second post exists.
>
> However, to answer your question.  It could be a floating point rounding 
> error though I've never seen that happen to a TDateTime before without 
> some sort of arithmetic involved.
>
> I'll keep my eyes open to try to find out what the issue is.  Hopefully 
> someone else that knows what's going on will respond.
>
> - Clayton
>
Thank you,Clayton!I have seen my program again,I thought maybe you are 
right.Because the DateTime was reprented as a float value in the access,and 
In my application I put data into the table every 200ms, perhaps the 
difference was the different convertion method between Borland and 
Microsoft.so you are right:It could be a floating point rounding . 
Technical Details
Message-ID: <454aefc9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4549a412@newsgroups.borland.com> <454a27aa$1@newsgroups.borland.com> <454a2986$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,b24adba74fe8905
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
From: "ht" <ht_ftp@km169.net>
Newsgroups: borland.public.cppbuilder.database.ado
References: <4549a412@newsgroups.borland.com> <454a27aa$1@newsgroups.borland.com> <454a2986$1@newsgroups.borland.com>
Subject: Re: Why have I got wrong record from this table?
Date: Fri, 3 Nov 2006 15:28:45 +0800
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 222.172.245.119
Message-ID: <454aefc9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1162538953 222.172.245.119 (2 Nov 2006 23:29:13 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail