Article View: borland.public.cppbuilder.database.ado
Article #3851problem append record in my ADOTable
From: Eric Gagne
Date: Thu, 06 Jun 2002 23:32
Date: Thu, 06 Jun 2002 23:32
13 lines
1257 bytes
1257 bytes
Hi,
I use the function appendrecord of the component TABLE for add a record in
my ADOtable but i have this error
you have try affect the value null has a variable which is not of variant
type
here my line of code
Variant InputString = InputBox("Information sur ristourne", "Nom du
groupe:", "");
DM->ADORistourne->AppendRecord(ARRAYOFCONST((Null,InputString)));
Why i have this problem?
Technical Details
Message-ID:
<3cfff03e$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,622fa296465b9139,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-06-06 16:39:38 PST From: "Eric Gagne" <ericgagne@sympatico.ca> Newsgroups: borland.public.cppbuilder.database.ado Subject: problem append record in my ADOTable Date: Thu, 6 Jun 2002 19:32:29 -0400 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 65.93.193.219 Message-ID: <3cfff03e$1_1@dnews> X-Trace: dnews 1023406142 65.93.193.219 (6 Jun 2002 16:29:02 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!dnews