G
Guest
I created a query to run with a form using the example at
htto://office.micorsoft.com/en-us/assistance/HA011170771033.aspx?
the code for the OK button is
Private Sub OK_Click()
Me.Visible = False
Docmd.OpenQuery "Breed Summary Query", acViewNormal, acEdit
DoCmd.Close acForm, "Breed Summary Form"
End Sub
I am getting error 2001 "you canceled your previous action".
Any help would be great! Thanks!
htto://office.micorsoft.com/en-us/assistance/HA011170771033.aspx?
the code for the OK button is
Private Sub OK_Click()
Me.Visible = False
Docmd.OpenQuery "Breed Summary Query", acViewNormal, acEdit
DoCmd.Close acForm, "Breed Summary Form"
End Sub
I am getting error 2001 "you canceled your previous action".
Any help would be great! Thanks!