Z
ZH
Please can you help. I am not familiar with VB and
require some assistance in creating a module in access.
I am creating a "Table of Contents" for a report as
described in Knowledge base article 210269
linked here:
http://support.microsoft.com/default.aspx?scid=kb;en-
us;210269
The instructions work fine when using the Northwind
example DB, but in my own DB when trying to compile the
Module. I get the below error,
Compile error: User defined type not defined
This applies to the following lines
Dim db As DAO.Database
Dim TocTable As DAO.Recordset
qd As DAO.QueryDef
Please can you explain how I can resolve this.
Many thanks
require some assistance in creating a module in access.
I am creating a "Table of Contents" for a report as
described in Knowledge base article 210269
linked here:
http://support.microsoft.com/default.aspx?scid=kb;en-
us;210269
The instructions work fine when using the Northwind
example DB, but in my own DB when trying to compile the
Module. I get the below error,
Compile error: User defined type not defined
This applies to the following lines
Dim db As DAO.Database
Dim TocTable As DAO.Recordset
qd As DAO.QueryDef
Please can you explain how I can resolve this.
Many thanks