Hi Peter,
What you can do is to have a dropdown with a list / query with the options you want (10, 20, 50) binded to the MaxRecords variable and with the OnChange linked to the screen action you use to refresh the query.
Something like that:

In this way, you allow the user to control the value of the MaxRecords variable through the Dropdown widget.
Regards,
João