In the Form Functions window, select the form and specify the parameter QUERY_ONLY=YES. If you want to specify other parameters for this form function, separate them with a space.
Enter a user function name to identify your new function, and save it.
In the Menus window, select your new function instead of the supplied form function.