šŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO & DBASE FILES

#2127
From: Fausto Sanchez
Date: Sun, 09 Nov 2003 23:53
41 lines
2487 bytes
This ended up being a very simple problem of not populating the object tree
with the fields. What I find abit puzzling is that the Grid would display
data in the form before compiling. I would think it should error out to the
effect that no fields work included. All better now. Thanks


"Palmetzhofer Dietmar" <dietmar.palmetzhofer@boku.ac.at> wrote in message
news:3fab5420@newsgroups.borland.com...
> 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: <3faed347$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-mail
References: <3fa82fc6$1@newsgroups.borland.com> <3fab5420@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-09 16:09:15 PST
From: "Fausto Sanchez" <fausto@performancepost.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3fa82fc6$1@newsgroups.borland.com> <3fab5420@newsgroups.borland.com>
Subject: Re: ADO & DBASE FILES
Date: Sun, 9 Nov 2003 15:53:10 -0800
Lines: 43
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: 63.193.88.66
Message-ID: <3faed347$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1068421959 63.193.88.66 (9 Nov 2003 15:52:39 -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