Access VBADiscuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I must be missing something simple. I try to use the statement 'Dim db as Database' and the system tells me that the user defined type not defined. I have the same exact line in another piece of code in another database and it works fine. Any thoughts. I am running Access 2002 on XP professional. I have not written code for this in about 3 years and was thinking that some of the definitions may have changed.