Jump to content

Use variable in Email Body text


aguest

This topic is 3119 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

I want to use some variables passed to the script in the body of the email to give the user some information about an incident that has been raised. I need some help with the syntax for doing this please as I have searched on line for help and can't seem to find any. I know that what my script is doing at the min is wrong as it's inside the text strings, but every time I take it out I get an error from filemaker.

TIA

variable in email body.png

Link to comment
Share on other sites

I know that what my script is doing at the min is wrong as it's inside the text strings, but every time I take it out I get an error from filemaker

You need the & operator to combine your bits of literal text with your $vars:

"Hi¶¶
a new …to review the incident:¶
¶Incident Reference: " & $refNo & 
"¶Raised by: " & $victimName &
"¶Incident Type: " & $incidType 

etc.

I have searched on line for help and can't seem to find any.

You know the program has a built-in help? There you can e.g. read up on how calculations work.

Link to comment
Share on other sites

This topic is 3119 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.