Execute SQLExecute SQL [No Dialog; ODBC: <datasource name>; <native SQL
or calculated SQL>]
• Perform without dialog prevents the Specify SQL dialog box, the Select ODBC Data Source dialog box, and the Password dialog box from displaying when the script step executes.
• ODBC Data Source displays the Select ODBC Data Source dialog box. Select a data source from the list, click OK, and enter a valid user name and password.Note Select Save user name and password if you selected Perform without dialog, or users may be unable to access your data source.
• Calculated SQL text specifies a calculation to use as the SQL query.
• SQL text lets you manually enter a SQL query statement.
You can use this script step to manage data in an ODBC data source through an ODBC SQL interface. This provides more control over the FileMaker Pro interaction with ODBC data sources. You can add multiple Execute SQL steps to a script.
• Get(LastODBCError) function returns the latest error state returned by ODBC.
• Get(LastError) function returns the last FileMaker Pro error.
• FileMaker Server, FileMaker WebDirect, and Custom Web Publishing support this script only if the Perform without dialog option is selected.