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

ADO and DataView Templates

edited May 2003 in End User
I'm looking at writing some custom data templates, but the demo seems to
rely largely on the daDBBDE unit, and I can't see any equivallent unit
for ADO. Would I have to essentially write a daDBADO unit in order to
create custom templates, given that my app uses ADO as the database engine?

Thanks in advance.


James Crosswell

Comments

  • edited May 2003
    Check out the daADO.pas unit. This is the unit that has the ADO adapter
    classes for DADE dataviews that connect to an ADO connection. Remove daDBBDE
    from the uses clause because that will link in the BDE, which you don't want
    to do if you want to use ADO. Also, make sure you change the Datasettings on
    the designer to use an ADOSession and the ADOConnection object on your
    form/datamodule.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.