Article View: borland.public.cppbuilder.database.ado
Article #5014Re: Retrieving Results
From: John McDonald
Date: Tue, 21 Aug 2001 20:16
Date: Tue, 21 Aug 2001 20:16
22 lines
1653 bytes
1653 bytes
Michael, I've tried this already..My original post was incorrect with the following line: ADOCommand1->Execute(); Using the code below still produces a stack overflow when ADODataSet2->Recordset = ADOCommand1->Execute(); is executed: ADOCommand1->Connection = ADOConnection1; ADOCommand1->Parameters->Clear(); ADOCommand1->CommandText = WideString(Text); //Text = "util.set_psm_ack(3456,321,'Testing..')"; ADOCommand1->CommandType = cmdStoredProc; ADOCommand1->ParamCheck = false; ADODataSet2->Recordset = ADOCommand1->Execute(); Are there special preparations for ADODataSet2 before in can be used with ADOCommand?? Documentation for ADO is a big pile of CRAP complete with incorrect examples that won't even compile. John
Technical Details
Message-ID:
<3b82bef8.23158265@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3b8131d6.570235@newsgroups.borland.com> <3b825ae6.627592@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,79925ae67771c000 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-08-21 13:26:24 PST From: mcdonald@airtalk.com (John McDonald) Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Retrieving Results Date: Tue, 21 Aug 2001 20:16:26 GMT Organization: System Studies, Inc. Message-ID: <3b82bef8.23158265@newsgroups.borland.com> References: <3b8131d6.570235@newsgroups.borland.com> <3b825ae6.627592@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.11/32.235 NNTP-Posting-Host: 209.78.255.162 X-Trace: dnews 998425009 209.78.255.162 (21 Aug 2001 13:16:49 -0700) Lines: 26 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews