Moved from VB6 CodeBank.

Welcome to the forums.

Do you have the proper DAO references set in your project?