Brian Dunning's FileMaker Custom Functions

OutCarriage ( carriage )

Used to reformat "hard" carriage returns for outgoing emails in Mac Outlook

  Average rating: 4.5 (23 votes) Log in to vote

Dwayne Wright   Dwayne Wright - Show more from this author
Dwayne Wright
http://thepracticalba.com

Share on Facebook Share on Twitter

  Sample input:
Difficult to show here, you have to try using the Send Mail script step using Outlook on a Mac.
  Sample output:
Puts in the hard carriage returns as originally intended by the developer.

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Any calculation field that concantenates multiple fields with hard carriage returns. When used in the message body of FileMaker generated emails, causes a problem unless the html equivelant is used.

 

Comments

Alex Catt   Alex Catt
Sep 21, 2022
We are often confronted with the combination 'CRLF' and apparently Char(1000013) delivers this combo right away:
so if anyone is interested I replaced the "
" with Char(1000013) in the function above and I was able to use 'CRLF' without any use of external plugins.

Case(
Abs(Get ( SystemPlatform )) = 1; Substitute ( Carriage ; "¶" ; Char(1000013) );
Carriage)
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: