Article View: borland.public.cppbuilder.database.ado
Article #100Re: How to Convert TDataSet to TADO Recordset
From: Sinead Bunyan
Date: Thu, 23 Aug 2007 17:02
Date: Thu, 23 Aug 2007 17:02
38 lines
2843 bytes
2843 bytes
Hi Clayton, I am basically incorporating Crystal Reports 11 into an existing c++ project. Previously we had used a component from a company called Suprasoft, which allowed us to pass a TDataSet to report templates and using TTX files we could display our reports accordingly. In this way we did not have to specify the data location when designing the reports. However (!), we now are faced with using Crystal Reports 11, which requires that data be passed to the reports as an ADO recordset. Because it is an existing project, all datasets are created and ideally we would like a way to work from the existing datasets - we do not want to change all TDataSet components to TADODataSets and also we do not want to have to generate these datasets twice (once to populate our TDataSet, and once to populate a TADODataSet). Hopefully this is making sense? Any suggestions would be greatly appreciated - I have a very limited knowledge of ADO objects, sorry for my ignorance on this subject! Thanks in advance, Sinead "Clayton Arends" <nospam_claytonarends@hotmail.com> wrote in message news:46cdb750$1@newsgroups.borland.com... >> Thank you for your help on this, at least now I know that it is possible >> and can work from there. > > I believe the intent was to persuade you to not continue in this > direction. > > Perhaps you can explain a little about the types of 'Rpt' and 'Database' > and what functionality you are after. There might be other alternatives > that you can pursue once a little more is known about your problem. > > - Clayton > >
Technical Details
Message-ID:
<46cdbe15@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46cd6ffd@newsgroups.borland.com> <46cd9901@newsgroups.borland.com> <46cdb544$1@newsgroups.borland.com> <46cdb750$1@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> <46cdb544$1@newsgroups.borland.com> <46cdb750$1@newsgroups.borland.com> Subject: Re: How to Convert TDataSet to TADO Recordset Date: Thu, 23 Aug 2007 18:02:37 +0100 Lines: 39 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: <46cdbe15@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1187888661 193.120.239.74 (23 Aug 2007 10:04:21 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail