🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #4003

Re: Records toevoegen aan een tabel

#4003
From: KLinZ
Date: Mon, 06 Oct 2003 16:16
26 lines
2209 bytes
In news:1aagb.61014$K63.2500715@phobos.telenet-ops.be, Marc P. typed:

>> Waarom lukt het niet? Wat voor foutmelding krijg je? Wat bedoel je
>> met 'gewone Pascal statements'?
> bedoel ik dit ;

<snip code>

Blijven er twee vragen open :-)

> Als ik onderstaande code invul :
>
> With Artikels do
>      begin
>           CommandText := 'INSERT INTO Artikels (Artikelnaam) VALUES
>           :test'; Params.ParamByName('test').AsString :=
>           'Artikelnaam1'; Execute;
>      end;
>
> krijg ik de melding "parameter test not found"   Wat doe ik mis ??

Gebruik beter een T(Update)Query. Vul daarvan de SQL property met je
statement en het zal waarschijnlijk beter gaan (zie ik in mijn glazen bol).

-- 
www.zenobits.com
Technical Details
Message-ID: <tAggb.9104$P51.17567@amstwist00>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!kibo.news.demon.net!demon!news2.euro.net!amsnews01.chello.com!amstwist00.POSTED!not-for-mail
References: <Fx0gb.60383$b83.2502724@phobos.telenet-ops.be> <SR1gb.9031$P51.17342@amstwist00> <1aagb.61014$K63.2500715@phobos.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 107324,7a764b04aa5ebd2d
X-Google-Attributes: gid107324,public
X-Google-Thread: fcea4,7a764b04aa5ebd2d
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2003-10-06 09:17:30 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!kibo.news.demon.net!demon!news2.euro.net!amsnews01.chello.com!amstwist00.POSTED!not-for-mail
From: "KLinZ" <klinz@NOSPAMzenobitsSPAMNO.com.invalid>
Newsgroups: be.comp.programming,nl.comp.programmeren
References: <Fx0gb.60383$b83.2502724@phobos.telenet-ops.be> <SR1gb.9031$P51.17342@amstwist00> <1aagb.61014$K63.2500715@phobos.telenet-ops.be>
Subject: Re: Records toevoegen aan een tabel
Lines: 27
Organization: Inc.
MIME-Version: 1.0
Content-Type: text/plain;
 charset="Windows-1252"
Content-Transfer-Encoding: 7bit
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
Message-ID: <tAggb.9104$P51.17567@amstwist00>
Date: Mon, 6 Oct 2003 18:16:25 +0200
NNTP-Posting-Host: 212.187.71.152
X-Complaints-To: abuse@chello.nl
X-Trace: amstwist00 1065457049 212.187.71.152 (Mon, 06 Oct 2003 18:17:29 MET DST)
NNTP-Posting-Date: Mon, 06 Oct 2003 18:17:29 MET DST