Article View: borland.public.cppbuilder.database.ado
Article #1921Re: Lookup datafield
From: Dwayne
Date: Sun, 18 Jan 2004 22:07
Date: Sun, 18 Jan 2004 22:07
16 lines
1480 bytes
1480 bytes
Hello ,
run time I got this error:
EVariantTypeCastError "Could not convert variant of type (OleStr) into type
(Boolean)"...
Without looking at Dbase, and Haven't run into this error
before, Myfirst guess would be that your table as a field of Boolean type.
and you are trying to modify the field with something other than a Boolean
value. Y/N are not Boolean values <g>
Make sure your variable is a Boolean type that you are modifying
in your program before the Dbase file.
Dwayne
Technical Details
Message-ID:
<400c37c8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<400bfbf8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,acc743d31eec9bb2 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2004-01-19 12:10:24 PST Reply-To: "Dwayne" <myfrienddr@yahoo.com> From: "Dwayne" <myfrienddr@yahoo.com> Newsgroups: borland.public.cppbuilder.database.ado References: <400bfbf8$1@newsgroups.borland.com> Subject: Re: Lookup datafield Date: Sun, 18 Jan 2004 14:07:59 -0800 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 68.103.106.146 Message-ID: <400c37c8$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074542536 68.103.106.146 (19 Jan 2004 12:02:16 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail