Article View: borland.public.cppbuilder.database.ado
Article #960Re: ADO Database Opening Problem
From: John Borchers
Date: Thu, 17 Feb 2005 02:00
Date: Thu, 17 Feb 2005 02:00
45 lines
2523 bytes
2523 bytes
Thank you Vladimir! "Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote in message news:42138469$1@newsgroups.borland.com... > Add *ALL* tables' fields to code. > > Ie, double click on TTable on your datamodule and Add All fields... > > ;) > > > -- > Best regards, > Vladimir Stefanovic > "John Borchers" <jborchers@notmail.com> wrote in message > news:42137669$1@newsgroups.borland.com... >> All, >> >> Using BCB6, MS Access Tables 2000 >> >> The first time of every run I try to open a TADOTable with direct access >> I get the following error message: >> >> ...raised exception class EVariantTypeCastError with message 'Could not >> convert variant of type (Null) into type (String)' >> >> from my line: >> >> ADOTable1->Active=true; >> >> This error happens with or without data in rows. In other words, with >> data in rows no columns are NULL so this error shouldn't be possible. >> >> This error only shows up with the IDE running. It doesn't actually throw >> an exception within the program. After this line, the table is indeed >> active and can be written and read from. >> >> Anyone know what's going on here? >> >> TIA, >> >> John >> > >
Technical Details
Message-ID:
<mNednWcR6NCvZo7fRVn-2A@rcn.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.rcn.net!news.rcn.net.POSTED!not-for-mailReferences:
<42137669$1@newsgroups.borland.com> <42138469$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,cd22766f8de860a7 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.rcn.net!news.rcn.net.POSTED!not-for-mail NNTP-Posting-Date: Wed, 16 Feb 2005 20:02:26 -0600 From: "John Borchers" <jborchers@nohere.rcn.com> Newsgroups: borland.public.cppbuilder.database.ado References: <42137669$1@newsgroups.borland.com> <42138469$1@newsgroups.borland.com> Subject: Re: ADO Database Opening Problem Date: Wed, 16 Feb 2005 21:00:22 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response Message-ID: <mNednWcR6NCvZo7fRVn-2A@rcn.net> Lines: 47 NNTP-Posting-Host: 65.78.104.119 X-Trace: sv3-WtcL/kQbaYS2cMvZUIjQSNhE7/baBK6ErIzHuF4L+FVR+Y8hArpE0ofUSpsKbZ7EsUR2jVIqNGfa1tt!dGCQMK0Mvzr1iFR9GPYbIrYJHcf2DwiUqD9y3LJu5M7wimSHx3J9Ohf3vL24Tt1i X-Complaints-To: abuse@rcn.net X-DMCA-Complaints-To: abuse@rcn.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.31