Hi.
to Microsoft DAO Object Library, as the code requires a
reference to the Object Library. Does anyone know how I
go about getting this reference?
Open a code module in the VB Editor. Select the Tools menu -> References to
open the References dialog window. Scroll down until you find the Microsoft
DAO 3.6 Object Library. Mark the check box for this library. Select the
"OK" button to save your change.
Open the References dialog window again and you'll see the DAO library at
the bottom of the list of checked libraries. If Roger's database doesn't
have the ambiguous DAO objects explicitly declared in the code, then you'll
need to move the DAO library up the list with the "Up Priority" button until
it is listed above the ADO library, so that the DAO library takes precedence
over the ADO library. Select the "OK" button to save your change.
Next, select the Debug menu -> Compile <Database Name> to compile the code
with the new library.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)