Difference between revisions of "FMT()"
Helengeorge (Talk | contribs) (→Class) |
Helengeorge (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to return the name of an active format file | Function to return the name of an active format file | ||
Line 27: | Line 25: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 15:58, 2 December 2009
Purpose
Function to return the name of an active format file
Syntax
FMT([<workarea | alias>])
See Also
ALIAS(), CREATE SCREEN, DBF(), FCOUNT(), FIELD(), FIELDNAME(), INDEXKEY(), NDX(), SET AUTOFORMAT, SET COMPATIBLE, SET FILECASE, SET FORMAT, SET FULLPATH
Description
The FMT() function returns the name of the currently active screen format file or a null string, if none is active. If the optional <workarea | alias> is specified, then the function will operate in the required workarea. The FMT() function always returns a character string in lower case including the file extension of the active format file.
If SET COMPATIBLE is set to FOXPRO or VFP the FMT() return value format differs in the following way: if SET FULLPATH is ON the full path to the format file is returned, if SET FILECASE is OFF then the return value is converted to upper case (Windows only).
Example
? fmt() accounts.fmt
Products
Recital