AutoFillNewRecordFields

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have found the article on how to use this function online - however when I
try to DIM an object as DAO.Recordset in Access 2003, I am getting an error
"User-defined type not defined." Does anyone know why I am getting htis error?

Larry
 
Missing reference - open the VBA editor and tools>>References, add the
Microsoft DAO library.
 
You probably have a missing reference...

Choose Tools/References from the menu and set a refrence to the DAO 3.6
library (or whatever version you have).

Steve
 
You need to establish a reference to that dll in order for you application to
recognize it. Open any code module, and go to Tools/References and find and
check the box for Microsoft DAO 3.6 Object Library. You code should then be
able to create the recordset.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access ConcatRelated() Function Not Working 0
VBA error - please help with explanation 3
compile error 5
transfer listbox data 4
commandbar question 3
Help with compile error for password protected form 3
code error 1
Excel VBA 1

Back
Top