Get(LastMessageChoice)
Purpose 
Returns a number corresponding to the button clicked in an alert message that is displayed by the Show Custom Dialog script step.
Format 
Get(LastMessageChoice)
Parameters 
None
Data type returned 
number
Description 
Returns:
  •
1 for the first button (by default, labeled OK)
  •
2 for the second button (by default, labeled Cancel)
  •
3 for the third button
Note  For information on how functions evaluate differently on the host versus the client, search the FileMaker Knowledge Base available at www.filemaker.com/kb.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas