Article View: borland.public.cppbuilder.database.ado
Article #2680TADOStoredProc
From: Tracy Stevens
Date: Fri, 04 Apr 2003 16:11
Date: Fri, 04 Apr 2003 16:11
12 lines
1277 bytes
1277 bytes
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:
<3e8dae6e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,142474374a48ee3a,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-04-04 08:19:03 PST From: "Tracy Stevens" <eat@joes.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: TADOStoredProc Date: Fri, 4 Apr 2003 10:11:22 -0600 Lines: 14 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: 65.16.178.227 Message-ID: <3e8dae6e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049472622 65.16.178.227 (4 Apr 2003 08:10:22 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail