How do I call a query by clicking on a button in a form? Thanks! Ron
A Anakin Moonwalker Jul 4, 2005 #1 How do I call a query by clicking on a button in a form? Thanks! Ron
V Van T. Dinh Jul 4, 2005 #2 Which kind of Query you want to "call"? A Select Query returns rows while an Action Query performs some action but does not return any row. Check Access VB Help on the OpenQuery Method of the DoCmd object.
Which kind of Query you want to "call"? A Select Query returns rows while an Action Query performs some action but does not return any row. Check Access VB Help on the OpenQuery Method of the DoCmd object.
A Anakin Moonwalker Jul 5, 2005 #3 Thanks! I was just trying to open a standard query (not sure what other kinds of queries there are). DoCmd.OpenQuery "Query" works! Thanks again!
Thanks! I was just trying to open a standard query (not sure what other kinds of queries there are). DoCmd.OpenQuery "Query" works! Thanks again!
A Anakin Moonwalker Jul 5, 2005 #4 Thanks! Van T. Dinh said: Which kind of Query you want to "call"? A Select Query returns rows while an Action Query performs some action but does not return any row. Check Access VB Help on the OpenQuery Method of the DoCmd object. Click to expand...
Thanks! Van T. Dinh said: Which kind of Query you want to "call"? A Select Query returns rows while an Action Query performs some action but does not return any row. Check Access VB Help on the OpenQuery Method of the DoCmd object. Click to expand...