Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Again: How to creat the custom ADO dataview templates?

edited November 2004 in General
Hi, I ask the question before,but get no answer. I really can not find much
information about this question on the website.

I want to creat the custom ADO dataview templates. Some advice I have found
in your website:
To adapt to ADO you need to copy those two classes
TdaBDETemplateDataView = class(TdaQueryDataView)
TdaBDEQueryTemplateDataView = class(TdaBDETemplateDataView)
to a new unit and rename them like this
TmyADOTemplateDataView = class(TdaQueryDataView)
TmyADOQueryTemplateDataView = class(TmyADOTemplateDataView)
You then need to modify the classes from BDE to ADO by replacing the BDE
based components with ADO counterparts. TADOQuery will replace TQuery and
TADOConnection will replace TDatabase, etc.
I found there are many places to change, for example I can not deal well
with TdaBdeSession,
I am really appreciated your much detail advice.

Thanks,
Peter

Comments

  • edited November 2004
    Hi Peter,

    An ADO plugin for DADE is shipped with ReportBuilder, there should be no
    need for you to create a new one. If this plugin does not meet your needs,
    take a look at the source (daADO.pas). That will give you a good idea of
    what needs to be done.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.