D
Donna
I want a combo (search box) and Navigation buttons to show when a form is
opened in acFormEdit mode, and I want these items to be invisible when the
form is opened in acFormAdd mode. I've written the following code to run on
the OnOpen property but it doesn't work. It keeps opening without the items
being visible no matter what.
If datamode = acFormEdit Then
Me.NavigationButtons = True
Combo13.Visible = True
Else
Me.NavigationButtons = False
Combo13.Visible = False
End If
End If
opened in acFormEdit mode, and I want these items to be invisible when the
form is opened in acFormAdd mode. I've written the following code to run on
the OnOpen property but it doesn't work. It keeps opening without the items
being visible no matter what.
If datamode = acFormEdit Then
Me.NavigationButtons = True
Combo13.Visible = True
Else
Me.NavigationButtons = False
Combo13.Visible = False
End If
End If