I am returning to Access after some time away, and I found a note that says to add the statement
I am returning to Access after some time away, and I found a note that says to add the statement

This month, every Windows Secrets subscriber can download a one-chapter excerpt of Windows 7: The Missing Manual.Windows 7: The Missing Manual provides valuable information to help you overcome these difficulties in learning a new operating system. Subscribe today to download your free excerpt.
By default, A2000 references the ADO library instead of the DAO library. You must ensure that the DAO library is listed in the references for your project. Furthermore, both ADO and DAO include a Recordset object, so it is prudent to fully-qualify which library you want to use by unambiguously declaring the object with the correct library. "DAO.Recordset" is unambiguous whereas "Recordset" makes Access guess which library you intended to use.
--------------------------------------------------
Jack MacDonald
Vancouver, Canada