Article View: borland.public.cppbuilder.database.ado
Article #4733Re: Incorrect documentation for TADOStoredProc
From: Arnie Mauer
Date: Fri, 23 Nov 2001 11:59
Date: Fri, 23 Nov 2001 11:59
35 lines
2057 bytes
2057 bytes
Personally, never got a TADOStoredProc to work. I use a TADOQuery instead. The SQL Query is something like: "BEGIN MyProc( parm1, parm2, etc ); END;" - Arnie "Graham Reeds" <grahamr@omnieng.co.uk> wrote in message news:3bfcf383_2@dnews... > I'm trying to get parameters passed via TADOStoredProc. > > I've tried the example from the Borland Help Files but that gives a "E2288 > Pointer to structure required on left side of -> or ->*" compiler error > message. > > I've also tried > ADOStoredProc->Parameters->Items[0]->Value = PROJECT_ID; > yet that generates a runtime error of ListIndex out of bounds (0); > > I've tried several variations on this theme yet nothing is working. Anybody > got any working suggestions? > > What I am trying to do is speed my application by replacing the INSERT > statement that is parsed everytime (and ergo very slow) with a stored > procedure that will reuse my the cursor and hopefully make it faster (it > currently takes about 15 mins to insert a test suite of 100,000 records and > I would like to reduce that substantially. > > -- > > Yours faithfully, Graham Reeds. > grahamr@omnieng.co.uk | http://omnieng.co.uk/ > >
Technical Details
Message-ID:
<3bfe3a2f$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnewsReferences:
<3bfcf383_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,68b49c4782325fc3 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-11-23 04:02:33 PST From: "Arnie Mauer" <amauer@vrms.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3bfcf383_2@dnews> Subject: Re: Incorrect documentation for TADOStoredProc Date: Fri, 23 Nov 2001 06:59:47 -0500 Lines: 37 Organization: VRMS X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 24.151.50.11 Message-ID: <3bfe3a2f$1_1@dnews> X-Trace: dnews 1006516783 24.151.50.11 (23 Nov 2001 03:59:43 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews