Murray Brown
asked on
Access VBA Hide navigation pane where no form
Hi
I have a split access database where I use the following code on the main form load in the front end to hide the navigation pane. I want todo something similar in the backend but there is no form.
Where should I put my code?
If InStr(N, "accde") > 0 Then
'select the navigation pange
Call DoCmd.NavigateTo("acNaviga tionCatego ryObjectTy pe")
'hide the selected object
Call DoCmd.RunCommand(acCmdWind owHide)
End If
I have a split access database where I use the following code on the main form load in the front end to hide the navigation pane. I want todo something similar in the backend but there is no form.
Where should I put my code?
If InStr(N, "accde") > 0 Then
'select the navigation pange
Call DoCmd.NavigateTo("acNaviga
'hide the selected object
Call DoCmd.RunCommand(acCmdWind
End If
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks very much
Open in new window