I have a report that I need to create that is going to be a data dump of 25 selected records from "tblImport", but my issue is the fields are going to change in this table daily.
This will select my records and fields, but need a report to be displayed off of this query without having to modify if for the different fields.
Query:
SELECT TOP 25 tblImport.*
FROM tblImport
WHERE randomizer()=0
ORDER BY rnd(isnull([tblImport].[ID])*0+1);
This will select my records and fields, but need a report to be displayed off of this query without having to modify if for the different fields.
Query:
SELECT TOP 25 tblImport.*
FROM tblImport
WHERE randomizer()=0
ORDER BY rnd(isnull([tblImport].[ID])*0+1);