ok I have some code and I keep getting a User-defined type not defined error. Here is my code.
Public Function RefreshSmartSearch()
Dim CurDB As Database, GetData As Recordset, RestofArgs As String
Set CurDB = CurrentDb()
Me!OptionLabel1.Visible = False
Me.Option1.Visible = False
Me!OptionLabel2.Visible = False
Me.Option2.Visible = False
Me!OptionLabel3.Visible = False
Any help would be appreciated. This code works for another database of the same type, but can't figure out why it won't work now.