View Single Post
Old 10-30-2017, 08:52 AM   #4
Newly Registered User
JPFred's Avatar
Join Date: Oct 2017
Location: Richmond, VA USA
Posts: 34
Thanks: 11
Thanked 1 Time in 1 Post
JPFred is on a distinguished road
Thumbs down Re: Executing query from VBA code

Originally Posted by Gasman View Post
DoCmd.OpenQuery strName would be one way ? where strName is the name of the query?
Can this be added to a buttons parameters and if so which one. Would it possibly be on the onclick parameter? I think I've tried it and received an error stating that docmd.openquery was not valid.
JPFred is offline   Reply With Quote