I have DoCmd.OpenQuery "qryPrevDayNumDateMT" in the code behind a button, how do I see the query definition?
I have DoCmd.OpenQuery "qryPrevDayNumDateMT" in the code behind a button, how do I see the query definition?
Open the query and change the view to "SQL View"
If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
Bob Fitzpatrick
Access 2010 I am using how do I do Open the query?
I have never used A2010 but take a look at the link below for details:
http://office.microsoft.com/en-us/ac...157.aspx#BMsel
If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
Bob Fitzpatrick
You can open the query in design mode from code with this line:
DoCmd.OpenQuery ("qryPrevDayNumDateMT"), acViewDesign
If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
Bob Fitzpatrick