Article View: borland.public.cppbuilder.database.ado
Article #407Why have I got wrong record from this table?
From: ht
Date: Thu, 02 Nov 2006 14:27
Date: Thu, 02 Nov 2006 14:27
9 lines
1405 bytes
1405 bytes
"ht" <ht_ftp@km169.net> д���ʼ� news:4549a412@newsgroups.borland.com... I used ADO to access a Ms Access database.I put a TAdoConnection, a TADOTable, a TDataSource and a TDBGrid into the Form,the I have actived the dataset,but some datas displayed in the grid is dislike that in the Ms Access.especially the field whose type is DateTime,for example:In ms access a record's datetime field is 2006-11-20 12:12:31,but in my test application, this field has changed to 2006-11-20 12:12:30,so I tested this database in vb by ocx,the result is correct.Is the reason in my access table???
Technical Details
Message-ID:
<454a0019@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4549a412@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" <hemouse1@163.com> Newsgroups: borland.public.cppbuilder.database.ado References: <4549a412@newsgroups.borland.com> Subject: Why have I got wrong record from this table? Date: Thu, 2 Nov 2006 22:27:13 +0800 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 NNTP-Posting-Host: 220.165.189.37 Message-ID: <454a0019@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1162477593 220.165.189.37 (2 Nov 2006 06:26:33 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail