fn_nameProper ( field )
Convert name input to Title Case unless intentionally otherwise (e.g. O'Brien, McConnell, FileMaker, etc)
Be the first to rate this function Log in to vote
Keywords - Show more from this author |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
// PURPOSE: to format Name data in the standard format required
// NOTE:
// 1. result must (1) contain no extraneous spaces, (2) contain no carriage returns, and (3) be in Title case—unless intentional: see below
// 2. this version incorporates a Case function ("formatted" variable) to allow any non-standard capitalisation initially or subsequently entered by the user. This calc was submitted to the FM Technet Forum by Phil Caulkins, aka PhilModJunk, aka Caulkins Consulting
// 3. the result will still remove extra spaces and carriage returns but will accept any non-standard capitalisation
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.