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

How to creat the custom ADO dataview templates

edited November 2004 in DADE
Hi,
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
This discussion has been closed.