Article View: borland.public.cppbuilder.database.ado
Article #96How to Convert TDataSet to TADO Recordset
From: Sinead Bunyan
Date: Thu, 23 Aug 2007 11:29
Date: Thu, 23 Aug 2007 11:29
12 lines
1336 bytes
1336 bytes
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:
<46cd6ffd@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,629b3b97691ea625,start 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 Subject: How to Convert TDataSet to TADO Recordset Date: Thu, 23 Aug 2007 12:29:22 +0100 Lines: 13 Organization: Dairymaster MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original 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: <46cd6ffd@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1187868669 193.120.239.74 (23 Aug 2007 04:31:09 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail