richard luft
Registered User.
- Local time
- Today, 07:37
- Joined
- Jun 4, 2004
- Messages
- 63
Hi:
I'm trying to convert some Ac2 code to VBA for Ac2k. I have the following globals defined in a module for an "outline" type of form, as follows:
>>>>>>>
Option Compare Database
Option Explicit
Dim Tree As ListType
Dim MappeTable As DAO.Recordset
Dim MappeTableClone As DAO.Recordset
Dim MappeTableInit As Integer
>>>>>>
When I compile, the line Dim TREE as ListType gets errmsg of "User-defined type not defined. I can't find 'listtype' defined in Ac2 or in Ac2k. Can anyone suggest what's wrong, and a solution.
Thanx, Richard
I'm trying to convert some Ac2 code to VBA for Ac2k. I have the following globals defined in a module for an "outline" type of form, as follows:
>>>>>>>
Option Compare Database
Option Explicit
Dim Tree As ListType
Dim MappeTable As DAO.Recordset
Dim MappeTableClone As DAO.Recordset
Dim MappeTableInit As Integer
>>>>>>
When I compile, the line Dim TREE as ListType gets errmsg of "User-defined type not defined. I can't find 'listtype' defined in Ac2 or in Ac2k. Can anyone suggest what's wrong, and a solution.
Thanx, Richard
Last edited: