I'm trying to step through VBA code to look at the data that is being created. How can I get the output of a VBA select statement to show it as I step through the code?
For instance, a select statement sSQL="SELECT ........
Is there a way to create a quick #Temp table that takes that vba statement to dump into a vba temp table to display the output?
I tried DoCmd.RunSQL sSQL but get an error that it requires an argument consisting of the sql statement
Please help.
Ben
For instance, a select statement sSQL="SELECT ........
Is there a way to create a quick #Temp table that takes that vba statement to dump into a vba temp table to display the output?
I tried DoCmd.RunSQL sSQL but get an error that it requires an argument consisting of the sql statement
Please help.
Ben