David P. Lurie said:
Thanks for your assistance.
I have been developing an application with Access 2003 as front end,
initially using MSDE backend, now trying postgresql, accounting for
the change from adp to mdb.
If you use linked tables and bound forms, Access is going to be using
DAO to connect them.
The reason for ADO only was that "Programming Microsoft Access 2003"
by Rick Dobson (Microsoft Press) advised ADO rather than DAO. The
author stated that DAO would not be updated further, and implied lack
of future support for DAO.
At this point, plain ADO is just as "dead" as DAO, as MS is now pushing
ADO.Net, which is substantially different. Although Jet is on
maintenance support (as I understand it) and DAO is not expected to
receive any further enhancements, I am told that DAO and Jet will
continue to be supported in the realistic sense that Access will be
using them, for at least the next release after 2003.
I found the DAO vs. ADO difference when cutting and pasting forms
from the adp to mdb. No problems converting; just changed record
sources as needed and Find (ADO) to FindFirst(DAO), etc.
Yes, converting is quite simple. Since you're working with an ODBC data
source, watch out for slightly different behavior in recordsets, such as
+ The RecordCount property not accurate until you've navigated to
the end of a recordset.
+ Values of autonumber fields (or equivalent) not available
immediately after Recordset.AddNew -- you have to call .Update, then
move to the .LastModified record.
+ Also, if you're working with a DAO recordset you must call the
..Edit method before modifying field values.