I would create a couple of global text fields if you want the end user to type in custom data into those particular field. Then in the Send Mail scrip step, reference those globals. Dont forget to clear them out after it is sent.
Open the Send Mail dialog box. (You can do this from the File menu or within the script editor if you add it to your script and click the specify button.)
There're a buttons with a black triangle to the right of the subject and message text boxes. If you click these, you'll get the specify calculation dialog and you can put together a calculation that merges whatever text fields you need to build your message and subject lines.
I'm using FMP 10, If you have an earlier version, things may be different.
I'm using FMP 9 Advanced.
Give me an idea what calculations I could use to merge text and fields.
Thanks, think I'm on the right track. (Huge learning curve!)
How familiar are you with setting up calculated expressions in Filemaker Pro?
Does the following expression make sense to you?
"Dear " & table::NameField & "¶¶" & table::MessageField & "¶¶¶" & "Sincerely,¶" & table::SignatureField
The above expression would build a message in personalized format with a blank line between the salutation and the main body of the message. There are many other variations possible depending on what you want to do.
That works GREAT!!
Is there somewhere I can go to get more information about this kind of calculated expression?
thanks very much.
These kinds of expressions are used throughout Filemaker in field definitions, script steps, and conditional formatting. You can learn more from almost any how to book on filemaker, there may be tutorials you can purchase...
You can also browse this forum for any number of examples. If you see something you don't understand, feel free to ask a question.