Generated, not declared
The fields are read via RTTI - from a database table name or an internal table. No field list to maintain; a table known only at runtime works the same way.
Pass a table name or your data - get one select-option per field, ranges entered in a popup, and the whole selection saved as a variant. Your app gets the filter back as a SQL WHERE clause or applies it to an internal table.