FORMULA LANGUAGE


Examples: Using keywords
1. (DEFAULT) -- If the field KeyThought exists, whatever value is in that field is used for the computed field. If the field KeyThought does not exist, the value of Topic is used.
2. (ENVIRONMENT) -- Converts a number to text and saves it as an environment variable.
3. 3 (FIELD) -- This formula adds "Inc." to the value of the Company field.
4. (FIELD) -- This formula creates a new field called CompanyName to hold the name of the company plus "Inc." The field does not become visible unless you add it to the form design, but you can access it by naming it in formulas.
5. (FIELD) -- This formula deletes the field CompanyName.
6. (REM) -- This formula contains five lines of comments before the code.
7. (REM) -- This formula contains five lines of comments before the code.
8. (SELECT) -- This formula selects all documents in the database.
9. (SELECT) -- This view selection formula selects only documents composed from the Product Specification form or that are response documents.
10. (SELECT) -- This example changes the value of the Status field to Closed except for documents whose Categories Field is "Unsigned Contracts."
See Also