Article View: borland.public.cppbuilder.database.ado
Article #6074Re: Execute Method of TADOConnection object
From: Damon Warren
Date: Thu, 09 Nov 2000 21:15
Date: Thu, 09 Nov 2000 21:15
33 lines
1834 bytes
1834 bytes
Ok, I am doing this now:...
TExecuteOptions *MyExeOpts = new TExecuteOptions();
TADOQuery *ADOQuery1 = new TADOQuery(NULL);
//...
try {
ADOQuery1->Recordset = ADOConnection1->Execute(MyCmdStr, cmdText,
*MyExeOpts);
int i = ADOQuery1->FieldByName("PK")->AsInteger;
} __finally {
delete ADOQuery1;
delete MyExeOpts;
}
I am getting a stack overflow when trying to assign the Recordset property
of the TADOQuery object to the return value of the TADOConnection Execute
method.
-Damon
"Damon Warren" <damon.warren@teralogix.com> wrote in message
news:8ueoe1$5ku15@bornews.inprise.com...
> I am trying to use the Execute Method of TADOConnection object that
returns
> a type of _di_recordset... There is no documentation that I can find on a
> _di_recordset type.... how do I access records, fields, and values in this
> structure? is it a structure? a pointer? Thanks for any help.
>
> -Damon
>
>
Technical Details
Message-ID:
<8uf4fb$a234@bornews.inprise.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mailReferences:
<8ueoe1$5ku15@bornews.inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,358f54b6fdef4f53 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2000-11-09 13:24:29 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail From: "Damon Warren" <damon.warren@teralogix.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Execute Method of TADOConnection object Date: Thu, 9 Nov 2000 15:15:09 -0600 Organization: Teralogix, Inc. Lines: 35 Message-ID: <8uf4fb$a234@bornews.inprise.com> References: <8ueoe1$5ku15@bornews.inprise.com> Reply-To: "Damon Warren" <damon.warren@teralogix.com> NNTP-Posting-Host: mail.teralogix.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300