Converts an expression to code that you can use in an SQL Select statement. Use Expr(...) for literal expressions. Use NameExpr(name) for expressions stored in a variable. Otherwise, the expression returns the expression to convert.
Null (or the data table object, if OnRunComplete is included).
Optional. Specifies a script to run after the query is complete. To get the resulting data table, include OnRunComplete.
All queries except for SAS queries run in the background based on the Query Builder preference “Run the queries in the background when possible”, which is selected by default. For SAS queries, Run Background() is ignored.
You can include a .jmpquery file in a script and run the query in the background using the <<Run Background message.
See Run Background(<OnRunComplete(script), <private>>, <OnRunCanceled(script)>, <OnError(script)> for details about the arguments.