🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to Convert TDataSet to TADO Recordset

#97
From: Vassiliev V. V.
Date: Thu, 23 Aug 2007 14:25
28 lines
1900 bytes
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: <46cd9901@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46cd6ffd@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: "Vassiliev V. V." <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <46cd6ffd@newsgroups.borland.com>
Subject: Re: How to Convert TDataSet to TADO Recordset
Date: Thu, 23 Aug 2007 18:25:44 +0400
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-Antivirus: avast! (VPS 000767-4, 22.08.2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 85.93.138.132
Message-ID: <46cd9901@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1187879169 85.93.138.132 (23 Aug 2007 07:26:09 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail