FORMULA LANGUAGE
Examples: Writing messages to the user
1. This example writes a text constant as the title and a text expression in a dialog box. The expression is a concatenation of text constants and time-date values converted to text.
@Prompt([Ok]; "Current time and date"; "The date is " + @Text(@Now; "D0S0") + ". " + "The time is " + @Text(@Now; "T0S1") + ".")
2. This example writes a text constant as the title of a dialog box. The content of the box is a text constant followed by the value of a multi-value field.
@Prompt([OkCancelList] : [NoSort]; "Field offices"; "Current field offices are located in the following cities:"; ""; Field_offices)
3. This code, when added to the postsave event for a form, writes, "Saving with a modification date of 1/1/2001 01:38:11 PM" to the status bar, if the last modification date is January 1 and the "date" field contains the function @Modified:
@StatusBar("Saving with a modification date of " + date)
4. This code, when added to the postopen event for a form, writes, "You are creating a self-evaluation for Maria Rose" to the status bar at the bottom of the form when Maria Rose opens it in the Notes client:
@StatusBar("You are creating a self-evaluation for " + @Name([CN];@V3UserName))
Véase también
Writing messages to the user
Glosario
¿Desea opinar sobre la Ayuda?
Ayuda sobre la Ayuda
Abrir la Ayuda en pantalla completa
Glosario
¿Desea opinar sobre la Ayuda?
Ayuda sobre la Ayuda
Abrir la Ayuda en pantalla completa