Difference between revisions of "FMT()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Screen Forms
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return the name of an active format file
 
Function to return the name of an active format file
Line 29: Line 25:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
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