strsql = "SELECT *" & StrtABLENAME & "Where false" What do you mean?
Is the database not SQL Server? SQL Server Writing: strsql = "Select * from" & Strtablename & "Where 1 = 2" is a recordset that acquires the number of records 0, which is equivalent to obtaining a table structure.