J
June
I am executing a couple of append queries from a button on
a form but the confirmation messages are confusing to new
users and just basically annoying. I don't want to set
warnings to false and true because then other errors don't
come across. I tried using the CurrentDB.Execute method
but I'm getting a runtime error 3061,"too few parameters
expected 2". My code is simply:
Private Sub CommandSave_Click()
CurrentDb.Execute "qryMfg", dbFailOnError
CurrentDb.Execute "qryComp", dbFailOnError
End Sub
Any ideas or suggestions?
a form but the confirmation messages are confusing to new
users and just basically annoying. I don't want to set
warnings to false and true because then other errors don't
come across. I tried using the CurrentDB.Execute method
but I'm getting a runtime error 3061,"too few parameters
expected 2". My code is simply:
Private Sub CommandSave_Click()
CurrentDb.Execute "qryMfg", dbFailOnError
CurrentDb.Execute "qryComp", dbFailOnError
End Sub
Any ideas or suggestions?