Board index » delphi » App fine-tuning with ADO

App fine-tuning with ADO

    I made a lot of BDE development and I am interested of ADO.
    Looking at the ADO classes, I'm affraid that they don't offer you the
full control over the application.

    Can somebody tell me which TADOQuery method is similar to
TBDEDataSet.UpdatesPending
and how can I have something similar to TBDEDataSet.OnUpdateRecord (to
update a joined query, for
example)?
    Thank you,

        C. B.

 

Re:App fine-tuning with ADO


Quote
>   Can somebody tell me which TADOQuery method is similar to
>TBDEDataSet.UpdatesPending

You can set the FilterGroup property to fgPendingRecords and then  the records
in the filtered dataset.  You can do this on a cloned cursor if you don't want
to loose
your current record.

Quote
>and how can I have something similar to TBDEDataSet.OnUpdateRecord (to
>update a joined query, for
>example)?

If you are using a proper ADO driver it will handle updates on a Joined query

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Re:App fine-tuning with ADO


Thank you

Other Threads