Select and Update

The Select and Update command updates multiple rows in a database based on conditions specified in “where” clauses. A select statement retrieves data from a database and returns it in the form of query results. (When using this command, any fields/columns that have the auto-increment flag checked are not updated. The auto-increment flag is set on the Fields tab of the New Field or Field Properties window. See Adding a New Field in the Records/Tables chapter for instructions on setting this attribute.)

When you select the up arrow next to the Select and Update text box, the Select and Update FROM Application Record window displays.

Variables

You can use one or more where clauses to specify conditions. On each Where Clause tab, enter the following:

When you finish entering all the information, select Compile Statement and the program constructs the SQL statement in the text box at the bottom of the window.

Select Test Statement to make sure that the program can connect with the database to execute the statement.