E
excel/access-chump
I am trying to run these 3 queries at the open of this form. I know they all
work independently of eachother as plain old queries. Can anyone interpret
my error and give me some direction in this matter? In all the help files I
can't seem to find the syntax explaination to allow me to input the proper
"Query Name argument"
"InvenTrackerTest" = Pass Through query to sql server
"InvenTrackerMakeTable" = Obvious
"InvenTrackerUpdate" = Trims()
-----------Error Message------------
"Run-time error '2406': The action or method requires a Query Name argument."
---------CODE----------
Private Sub Form_Open(Cancel As Integer)
DoCmd.OpenQuery (InvenTrackerTest)
DoCmd.OpenQuery (InvenTrackerMakeTable)
DoCmd.RunSQL (InvenTrackerUpdate)
End Sub
---------CODE----------
work independently of eachother as plain old queries. Can anyone interpret
my error and give me some direction in this matter? In all the help files I
can't seem to find the syntax explaination to allow me to input the proper
"Query Name argument"
"InvenTrackerTest" = Pass Through query to sql server
"InvenTrackerMakeTable" = Obvious
"InvenTrackerUpdate" = Trims()
-----------Error Message------------
"Run-time error '2406': The action or method requires a Query Name argument."
---------CODE----------
Private Sub Form_Open(Cancel As Integer)
DoCmd.OpenQuery (InvenTrackerTest)
DoCmd.OpenQuery (InvenTrackerMakeTable)
DoCmd.RunSQL (InvenTrackerUpdate)
End Sub
---------CODE----------