JJMan
An SQL statement can return 0, 1 or many records, each of which can consist of 1 or more than 1 field. Some SQL statements don't return records at all.
To produce VBA code to display the results of an SQL statement, we would need to know what the SQL statement is, and then loop through it from top to bottom to retrieve every row concatenating the results in a string variable as we go, then displaying it on the screen when it has finished.
John