Article View: borland.public.cppbuilder.database.ado
Article #1043Re: Multiple DataSet
From: Viatcheslav V. Vassiliev
Date: Fri, 29 Oct 2004 10:14
Date: Fri, 29 Oct 2004 10:14
32 lines
2154 bytes
2154 bytes
> I saw that TADODataSet doesnt' contain the NextRecordset method > as TCustomADODataSet... ?? It does. ADODataSet1->Recordset = ADODataSet1->NextRecordset(&recAffected); You may need to check that recordset is not empty - some operations such as insert may return empty recordset, in this case move to the next recordset again. //------------------------------------------ Regards, Vassiliev V. V. http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + ADO.Net http://www.oledbdirect.com - The fastest way to access MS SQL Server, MS Jet (Access) and Interbase (through OLEDB) "Luke" <nomail@all.fr> �������/�������� � �������� ���������: news:4181fd51$1@newsgroups.borland.com... > > Hi to all..I'm using a TADOCOmmand to call a StoredProcedure > that retrieves mutliple ResultSet. > The TADOCOmmand's Execute method gives me back a TADODataSet.. > How can I move to the next RecordSet??? > I saw that TADODataSet doesnt' contain the NextRecordset method > as TCustomADODataSet...so what's the solution of my problem??? > Can I still use TADOCOmmand or I have to change components??? > TIA. > >
Technical Details
Message-ID:
<41821820@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!transit.nntp.hccnet.nl!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4181fbef$1@newsgroups.borland.com> <4181fd51$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,bf609458d03e5484 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <4181fbef$1@newsgroups.borland.com> <4181fd51$1@newsgroups.borland.com> Subject: Re: Multiple DataSet Date: Fri, 29 Oct 2004 14:14:54 +0400 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 213.234.218.42 Message-ID: <41821820@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1099044896 213.234.218.42 (29 Oct 2004 03:14:56 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!transit.nntp.hccnet.nl!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail