Hello,
I have a sub thas accepts as parameters the name of a query to execute, but the problem is that sametimes he run the query and other times don't, someane have a clue of what can be the problem.
Theirs teh sub:
Sub escalaVerão(MyQuery)
stDocName = "" & MyQuery & ""
DoCmd.OpenQuery stDocName, acNormal, acEdit
...
End sub
Thanks.
Albano
I have a sub thas accepts as parameters the name of a query to execute, but the problem is that sametimes he run the query and other times don't, someane have a clue of what can be the problem.
Theirs teh sub:
Sub escalaVerão(MyQuery)
stDocName = "" & MyQuery & ""
DoCmd.OpenQuery stDocName, acNormal, acEdit
...
End sub
Thanks.
Albano