G
Gary
Hello,
I am writing some VBA code in Access 2000 and came across a new one.
I wrote:
Dim CurDb as Database
the compiler flags the line saying 'User-defined type not defined.'
What gives? The help lists the Object 'Database' and CurDb is not a keyword
(I tried MyDb as well, same result).
I then launched Object Browser, it's not in there either. Why would this
change? I have other databases that use it as a definition and they still
work fine.
I'm perplexed!
TIA,
Gary
I am writing some VBA code in Access 2000 and came across a new one.
I wrote:
Dim CurDb as Database
the compiler flags the line saying 'User-defined type not defined.'
What gives? The help lists the Object 'Database' and CurDb is not a keyword
(I tried MyDb as well, same result).
I then launched Object Browser, it's not in there either. Why would this
change? I have other databases that use it as a definition and they still
work fine.
I'm perplexed!
TIA,
Gary