Article View: borland.public.cppbuilder.database.ado
Article #2683Re: TADOStoredProc
From: Mauro Tronto
Date: Sat, 05 Apr 2003 09:15
Date: Sat, 05 Apr 2003 09:15
20 lines
1603 bytes
1603 bytes
At design time, click on "parameters" property of you TADOStoredProc
component and add parameter in collection
"Tracy Stevens" <eat@joes.com> ha scritto nel messaggio
news:3e8dae6e@newsgroups.borland.com...
> I'm having a little trouble using TADOStoredProc. I don't think I've even
> accessed a parameter in the stored procedure. My first attempts were:
>
> SP1->ProcedureName = "spAddCustomer";
> SP1->Parameters->ParamByName("@CustNo")->Value = 3;
> SP1->Active = true;
>
> I keep getting SP1 "@CustNo" parameter not found. But it is a parameter
of
> the stored procedure.
>
> I am using C Builder 5 and MS SQL Server Personal edition.
> Thank you.
>
>
Technical Details
Message-ID:
<3e8e9eb2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e8dae6e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,142474374a48ee3a X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-04-05 01:18:32 PST From: "Mauro Tronto" <mauro.tronto@tmxp.it> Newsgroups: borland.public.cppbuilder.database.ado References: <3e8dae6e@newsgroups.borland.com> Subject: Re: TADOStoredProc Date: Sat, 5 Apr 2003 11:15:36 +0200 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 80.180.164.168 Message-ID: <3e8e9eb2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049534130 80.180.164.168 (5 Apr 2003 01:15:30 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail