FORMULA LANGUAGE
Examples: @SetField
1. This formula checks the value of the Priority field; if the Priority is Low or Medium, the Status field is set to Closed; otherwise, the Status is set to Open. Before @SetField is encountered in the formula, the Status field is declared using the FIELD keyword.
FIELD Status:=Status;
@If(Priority="Low"|Priority="Medium";@SetField("Status";"Closed");
@SetField("Status";"Open"))
2. This code, when used in a view action button, deletes fields x_1 through x_20 in the selected document.
@For(i := 1; i <= 20; i := i + 1;
@SetField("x_" + @Text(i);@DeleteField));
3. This button formula sets the value of the name field to a list containing Joseph and Riley:
@SetField("name"; "Joseph" : "Riley")
See Also
@SetField
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary