FMT()

From Recital Documentation Wiki
Revision as of 14:50, 23 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Screen Forms


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 Mirage Server, Recital Terminal Developer