šŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO & DBASE FILES

#2113
From: Palmetzhofer Dietmar
Date: Fri, 07 Nov 2003 08:17
28 lines
2253 bytes
Where do you get the error? Could you post some piece of code? You write
that a exception is raised, so It happens during runtime, I assume.
Normally this error is raised when you try to post a record that has
NULL-values.
But Iļæ½d need more information to give more hints.
Greetings,
Didi
"Fausto Sanchez" <fausto@performancepost.com> schrieb im Newsbeitrag
news:3fa82fc6$1@newsgroups.borland.com...
> I am tring to use the ADO components to connect to a DSN of Dbase 3 files.
I
> am using WinXP and BCB6 pro.
> When I drop the ADO table, Database connection, and a simple DBgrid I make
> the ADO table active and I can see the grid with data populated. When I
> compile I get the following error
>
> Debugger Exception Notification
> ---------------------------
> Project Project1.exe raised exception class EVariantTypeCastError with
> message 'Could not convert variant of type (Null) into type (String)'.
> Process stopped.
>
> I am sure this is a very simple problem but I have not been able to figure
> it out. I appreciate any help.
> --
> Fausto
>
>
Technical Details
Message-ID: <3fab5420@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!diablo.voicenet.com!216.65.3.53.MISMATCH!news-out.superfeed.net!propagator2-maxim!news-in-maxim.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3fa82fc6$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,dcb5b9cb815e806e
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-11-07 00:16:49 PST
Reply-To: "Palmetzhofer Dietmar" <dietmar.palmetzhofer@boku.ac.at>
From: "Palmetzhofer Dietmar" <dietmar.palmetzhofer@boku.ac.at>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3fa82fc6$1@newsgroups.borland.com>
Subject: Re: ADO & DBASE FILES
Date: Fri, 7 Nov 2003 09:17:59 +0100
Lines: 30
Organization: Univ. f. Bodenkultur
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 62.46.226.137
Message-ID: <3fab5420@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1068192800 62.46.226.137 (7 Nov 2003 00:13:20 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!diablo.voicenet.com!216.65.3.53.MISMATCH!news-out.superfeed.net!propagator2-maxim!news-in-maxim.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail