G
Guest
Hi,
I have a navigation page with drop down menu. When my user select from the
drop down menu a form will open based on what the user had selected. When
the user selected the form from the drop down menu I want the navigation to
either closed or minimize how do i do that. I seen something like:
Docmd.close acform, me.name. but where would I put the code so there is no
bug. Below is my code on navigation page. Thank you so much.
Private Sub Combo6_AfterUpdate()
If Me.Combo6 = "Brea Products" Then
DoCmd.OpenForm "Brea Products"
End If
If Me.Combo6 = "Chaska Products" Then
DoCmd.OpenForm "Chaska Products"
End If
If Me.Combo6 = "Miami Products" Then
DoCmd.OpenForm "Miami Products"
End If
End Sub
I have a navigation page with drop down menu. When my user select from the
drop down menu a form will open based on what the user had selected. When
the user selected the form from the drop down menu I want the navigation to
either closed or minimize how do i do that. I seen something like:
Docmd.close acform, me.name. but where would I put the code so there is no
bug. Below is my code on navigation page. Thank you so much.
Private Sub Combo6_AfterUpdate()
If Me.Combo6 = "Brea Products" Then
DoCmd.OpenForm "Brea Products"
End If
If Me.Combo6 = "Chaska Products" Then
DoCmd.OpenForm "Chaska Products"
End If
If Me.Combo6 = "Miami Products" Then
DoCmd.OpenForm "Miami Products"
End If
End Sub