fileNameDefault ( )

Function stats

Average user rating
166
421
9999
Support
FileMaker 7.0 +
Date posted
16 March 2019
Version
1
Recursive function
No

Author Info
 Josh Ormond

7 functions

Average Rating None

author_avatar



 

Function overview

Prototype

fileNameDefault  ( _fileName;   _fileExt )


Parameters

_fileName  The desired file name.


_fileExt  The file extension to use. The "." is not necessary.


Description

Tags:  Filename   File  

Call the fileNameFormat ( ) function with just the defaults.

Examples

Sample input

fileNameDefault ( "SalesReport" ; "pdf" )


Sample output

/Macintosh HD/Users/johndoe/Documents/2019-03-13_SalesReport.pdf

 

Function code

/***************************************
*
*    Function Name:        fileNameDefault ( _fileName ; _fileExt )
*    Parameters:        _fileName = the desired file name.
*                    _fileExt = the file extension to use. The "." is not necessary.
*    Purpose:            Call the fileNameFormat ( ) function with just the defaults.
*    Notes:            
*    Change log:        2019-02-28 JO - Initial build.
*
*****************************************/

fileNameFormat ( "" ; _fileName ; "" ; _fileExt ; "" )

// ===================================
/*

    This function is published on FileMaker Custom Functions
    to check for updates and provide feedback and bug reports
    please visit http://www.fmfunctions.com/fid/421

    Prototype: fileNameDefault( _fileName; _fileExt )
    Function Author: Josh Ormond (http://www.fmfunctions.com/mid/166)
    Last updated: 16 March 2019
    Version: 1

*/
// ===================================