I'd love to have a get function to get the record IDs of all records in the current record set.
Than I could use them in SQL statement to work via SQL on the same records.
Or store it for later to rebuild same record selection.
This already exists
You can also utilize a custom function to perform this, and avoid the extra schema.
FileMaker Custom Function:GetFoundSet ( FieldName )
Retrieving data ...