Database Guide : Database Tasks : Work with multi-row queries : Execute queries with a push button
Execute queries with a push button
Sometimes you need a query to execute only after your users perform some action. For example, when a query uses a host variable, you can't execute the query before the window opens, because the variable is nil.
To execute a query with a host variable, you need an action on the window, such as a push button, to trigger the query. Connect the push button's clicked event to the executeQuery action of the multi-row query part.
Last modified date: 01/29/2015