April 10, 201114 yr I would like to create several options when sending mail messages. Based on field values which I can alter, I would like to send attachments or use BCC addresses. I have created global variables for both options which I can set to Yes/No, but, when setting the variable within a script by chaining the email functions, how do I invoke these particular functions through the use of if statements. Ron
April 11, 201114 yr You would use your if statements the same way in this case as you would use them in another filemaker script. Use your if statements to determine which functions you would like to call, and then call the functions/script steps you would like to execute. If (myconditions) set variable ($myvar; emailfunction(parameters)) else (myconditions2) set variable ($myvar; emailfunction(parameters2)) End If
Create an account or sign in to comment