I have a form that has a on click event t0 run code to make it inviisible but it will not work .I am using Access 2010
Option Compare Database
Option Explicit
Private Sub ok_Click()
Me.Visible = False
DoCmd.OpenQuery "show customers order", acViewNormal, acEdit
DoCmd.Close acForm, "show...