I found this code on tek-tips and was wondering if it could be modified to display results as a query rather than saved to a table. Reason being is that would like to use it dynamically to join with other queries to use for filters and where clauses without having to remember to run code to refresh the table.
CurrentProject.Connection.Execute "Insert into tblFileNames (FileName) values ('" & Left(strFN, Len(strFN) - 4) & "')"
CurrentProject.Connection.Execute "Insert into tblFileNames (FileName) values ('" & Left(strFN, Len(strFN) - 4) & "')"