🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to Convert TDataSet to TADO Recordset

#98
From: Sinead Bunyan
Date: Thu, 23 Aug 2007 16:25
46 lines
2340 bytes
Hi Vassiliev,

Thank you for your help on this, at least now I know that it is possible and 
can work from there.

Is there any possibility that you may be able to provide me with an example 
of such a wrapper?

Thanks again for your help.

Regards,
Sinead

"Vassiliev V. V." <support@oledbdirect.com> wrote in message 
news:46cd9901@newsgroups.borland.com...
> You will have to creaet a wrapper, for example, using simple OLEDB 
> provider. It is not an easy task.
>
> //------------------------------------------
> 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)
>
>
> "Sinead Bunyan" <nospamSBUNYAN@DAIRYMASTER.COM> ???????/???????? ? 
> ???????? ?????????: news:46cd6ffd@newsgroups.borland.com...
>> Hi,
>>
>> I would like to be able to pass a TDataSet to the following function 
>> which
>> requires an ADO Recordset:
>>
>> Rpt->Database->SetDataSource((Variant)ADOQuery1->Recordset,(Variant)3,(Variant)1);
>>
>> Instead of passing an ADOQuery I would like to pass a TDataSet (i.e 
>> either a
>> BDE Query or Table).
>>
>> Thanks in advance,
>> Sinead
>>
>
> 
Technical Details
Message-ID: <46cdb544$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46cd6ffd@newsgroups.borland.com> <46cd9901@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,629b3b97691ea625
X-Google-Attributes: gid10698b,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Sinead Bunyan" <nospamSBUNYAN@DAIRYMASTER.COM>
Newsgroups: borland.public.cppbuilder.database.ado
References: <46cd6ffd@newsgroups.borland.com> <46cd9901@newsgroups.borland.com>
Subject: Re: How to Convert TDataSet to TADO Recordset
Date: Thu, 23 Aug 2007 17:25:02 +0100
Lines: 47
Organization: Dairymaster
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: 193.120.239.74
Message-ID: <46cdb544$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1187886404 193.120.239.74 (23 Aug 2007 09:26:44 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail