UniqueWindowName ( name )
Starting with
Be the first to rate this function Log in to vote
Lewis Lorenz - Show more from this author
Lorenz Companies http://www.LorenzCom.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
UniqueWindowName ( name )
By Lewis Lorenz
5/28/2020
Starting with "name" parameter, returns a name unique to the list of WindowNames by appending the first non-existent sequential number to the name in the format " - #".
This custom function is recursive. If you change its name, then change it's name in the code.
Example:
UniqueWindowName ( "Untitled" ) = "Unitled - 2" //Where a window named "Untitled" already exists.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.