Difference between revisions of "DEFAULTEXT()"
From Lianjapedia
(Created page with '==Purpose== Function to return a file name with a new extension if one does not already exist ==Syntax== DEFAULTEXT(<expC1>,<expC2>) ==See Also== BASENAME(), DBF(), [[D…') |
|||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[BASENAME()]], [[DBF()]], [[DEFAULT()]], [[ | + | [[BASENAME()]], [[DBF()]], [[DEFAULT()]], [[FORCEEXT()]], [[FORCEPATH()]], [[GETENV()]], [[JUSTDRIVE()]], [[JUSTEXT()]], [[JUSTFNAME()]], [[JUSTPATH()]], [[JUSTSTEM()]], [[NDX()]], [[PATH()]], [[SET FULLPATH]], [[SET PATH]], [[SYS()]] |
==Description== | ==Description== |
Latest revision as of 09:04, 16 November 2012
Contents
Purpose
Function to return a file name with a new extension if one does not already exist
Syntax
DEFAULTEXT(<expC1>,<expC2>)
See Also
BASENAME(), DBF(), DEFAULT(), FORCEEXT(), FORCEPATH(), GETENV(), JUSTDRIVE(), JUSTEXT(), JUSTFNAME(), JUSTPATH(), JUSTSTEM(), NDX(), PATH(), SET FULLPATH, SET PATH, SYS()
Description
The DEFAULTEXT() function returns a file name based on <expC1> with a new extension <expC2> if one does not already exist.
Example
open database southwind use customers ? defaultext(alias(),"dbd") ? defaultext(alias(),"dbt") ? defaultext(alias(),"dbx")