Hi,
I am trying to just write a little test to output the stored Query Names & the SQL strings within them.
How I find it manually:
Select the query, and then right click on it. Select "DesignView". From there click SQL & it reveals the statement.
How would I do that in VBA?
I have a Do loop where the queries are being executed. I can output the query name but not the SQL statement as a text string to the immediate window. I tried “.value” but it gives me an integer. I want to preview/ output the SQL string to the immediate window before it is executed.
TIA
Noob