The function Get(LastMessageChoice) is not showing up in Specify Calculation screen. I am using Filemaker 12 for Mac. I am making a database for my club and would like to use this function
Are you - by any chance - looking at "all functions by name"? You should select the "Get functions" collection. See screenshot.
This is used AFTER you use the Show Custom Dialog script step
The dialog has the ability to include up to 3 buttons (1, 2, 3)
When the user clicks a button, you can script:
If ( Get(LastMessageChoice) = 1 )
... do this ...
Else if ( ....
I use it most often with a "Cancel" button (possibly #2) and clean up the previous actions (if needed) and halt a script.
Your question s a bit vague but I would suggest that you make sure that function is contained within an "IF" and "ENDIF" pair of statements.
When I use the if \ End if statement the function does not show up in the Specify Calculation Box. I must be doing something wrong
what version are you using? & can you post a screen shot?
I am using Filemaker Pro 12.0.0v5
Here is the screen shot
That was the problem
Retrieving data ...