It will probably never really work the way you want it. This works when you first open the form, but will not work when you click the button a 2nd time. This just does not work in a when-button-pressed:
IMHO, it's better to have users get to know how Forms works than trying to get Forms to work the way your users want it to work.
enter_query; list_values; execute_query;