FORMULA LANGUAGE
Examples: FIELD
1. There is a field named Company on a form. When users compose documents with this form, they enter the name of the company in this field. You can write the following filter, which adds "Inc." to the contents of the Company field:
FIELD Company := Company + ", Inc.";
2. Alternatively, you can create a new field called CompanyName in the form to hold the name of the company plus "Inc.", by assigning it the following formula:
FIELD CompanyName := Company + ", Inc.";
3. To delete the field CompanyName from an existing set of documents, you can use the following formula:
FIELD CompanyName := @DeleteField;
4. To assign a value to a field and use it in an @function:
FIELD fullname := @If(fullname = "";firstname + " " + lastname;fullname)
See Also
FIELD
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary