Hi
I'm a getting a 'User-defined Type Not Defined' Error in the following code snip:
I searched the forums and turned up the following article/Post:User-defined Type Not Defined (Thanks Mile-O-Phile and dcx693). It defines the problem exactly and suggests some solutions. But none of them work. I'm using access 2000 on XP(Home)
Has anyone else had this problem and/or know how to solve it?
Thanks
Lex
I'm a getting a 'User-defined Type Not Defined' Error in the following code snip:
Code:
HideStartupForm_Err:
Const conPropertyNotFound = 3270
If Err = conPropertyNotFound Then
Dim db As DAO.Database ' DAO <---- HERE IS THE ERROR
Dim prop As Property
Set db = CurrentDb()
Set prop = db.CreateProperty("StartupForm", dbText, "Startup")
db.Properties.Append prop
Resume Next
End If
I searched the forums and turned up the following article/Post:User-defined Type Not Defined (Thanks Mile-O-Phile and dcx693). It defines the problem exactly and suggests some solutions. But none of them work. I'm using access 2000 on XP(Home)
Has anyone else had this problem and/or know how to solve it?
Thanks
Lex