How Do I ... : Work with databases : Work with multi-row queries : Execute queries with a push button
Execute queries with a push button
Execute queries before opening a windowExecute queries before opening a windowNo tip for this topicNo example for this topicTear off a result tableTear off a result table
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: 08/13/2019