🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1110

Re: Stored Procedure with many return recordsets

#1110
From: Viatcheslav V. Vassiliev
Date: Thu, 30 Dec 2004 20:48
25 lines
1658 bytes
ADODataSet1->Recordset = ADOQuery1->NextRecordset;

Some commands may return empty recordsets, in this case call NextRecordset
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)

"Julian Lliteras" <yartax@hotmail.com> �������/�������� � ��������
���������: news:41d3bac0@newsgroups.borland.com...
> Hi,
>
> A simple question, if a SQL SERVER 2000 stored procedure returns two
> datasets, how can I access to the second dataset returned?
>
>
> Thanks.
> Julian.
>
>
Technical Details
Message-ID: <41d469aa@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41d3bac0@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,c7f42121d1a0791
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <41d3bac0@newsgroups.borland.com>
Subject: Re: Stored Procedure with many return recordsets
Date: Thu, 30 Dec 2004 23:48:41 +0300
Lines: 27
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: 217.73.240.29
Message-ID: <41d469aa@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1104439722 217.73.240.29 (30 Dec 2004 12:48:42 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail