Article View: borland.public.cppbuilder.database.ado
Article #5914Re: Retrieve Output parameters from TADOStoredProc
From: Eko Subagio
Date: Thu, 11 Jan 2001 17:49
Date: Thu, 11 Jan 2001 17:49
33 lines
1667 bytes
1667 bytes
No way, it should run properly. Did you set parameters output properly ? Check in Parameters Property Editor and invoke parameter editor, set the formal and actual parameter as output. Or Check your SQL statement after retrieving value, there two method to returning value from MSSQL Server , first with SELECT @parOutput = value or you can using Set @parOutput = value Regards Eko Subagio www.delphi-jedi.org www.geocities.com/ekosbg "sylvain cochepain" <s.cochepain@silog.fr> wrote in message news:3a5c90ae_1@dnews... > Hi, > > I can't retrieve the value of output parameter in my TADOStoredProc (I get 0 > for a simple int parameter). Is it a known bug or do I miss something? > Thanks for your help. > > -- > Sylvain > >
Technical Details
Message-ID:
<93j6n6$qvs1@bornews.inprise.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mailReferences:
<3a5c90ae_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,cfbc40089a8d3a2c X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-01-10 18:57:27 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail From: "Eko Subagio" <ekosbg@cbn.net.id> Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Retrieve Output parameters from TADOStoredProc Date: Thu, 11 Jan 2001 09:49:31 -0800 Organization: Another Netscape Collabra Server User Lines: 35 Message-ID: <93j6n6$qvs1@bornews.inprise.com> References: <3a5c90ae_1@dnews> NNTP-Posting-Host: 202.155.14.161 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700