Okay -
So you'd think this be about DAO vs ADO -- but I'm only using ADO and always declare Dim rst as ADODB.recordset
Anyways... I am making a user-defined type "CurrentIDs" which I have in a Class Module:
Public ServiceID as Long
...
Public ActivityID as Long
then in a Module "Utilities" I declare this globally:
Global Current as New CurrentIDS
When I attempt to compile, it gives me the User-defined type not defined... but it doesn't show a line or anything that the error occurs... would it normally with this error?
Maybe it's really unrelated to the whole global user-defined type.. but I'm really clueless at this point.
THANKS!
Trevor
So you'd think this be about DAO vs ADO -- but I'm only using ADO and always declare Dim rst as ADODB.recordset
Anyways... I am making a user-defined type "CurrentIDs" which I have in a Class Module:
Public ServiceID as Long
...
Public ActivityID as Long
then in a Module "Utilities" I declare this globally:
Global Current as New CurrentIDS
When I attempt to compile, it gives me the User-defined type not defined... but it doesn't show a line or anything that the error occurs... would it normally with this error?
Maybe it's really unrelated to the whole global user-defined type.. but I'm really clueless at this point.
THANKS!
Trevor