Difference between revisions of "SET AUTOFORMAT"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 36: Line 36:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Set_Commands]]
+
[[Category:Set_Commands|AUTOFORMAT]]

Revision as of 11:48, 11 March 2009

SET AUTOFORMAT

Class

Screen Forms


Purpose

Enable automatic screen format file opening


Syntax

SET AUTOFORMAT ON | OFF | (<expL>)


See Also

APPEND, CHANGE, EDIT, INSERT, QUERY, USE, FMT(), SET FORMAT


Description

The SET AUTOFORMAT command is used to enable or disable automatic screen format file opening. If SET AUTOFORMAT is ON, an available screen format file (.fmt) with the same basename as the table will be opened automatically when the table is opened. If SET AUTOFORMAT is OFF, screen format files must be opened explicitly with the SET FORMAT command.

This command allows the optional <expL> to be evaluated. If a value of .T. is returned, AUTOFORMAT is set ON, if a value of .F. is returned, AUTOFORMAT is set OFF. Note that <expL> should be enclosed in round brackets. By default, SET AUTOFORMAT is ON.


Example

set autoformat on
use product.rdb
? fmt()
product.fmt


Products

Recital Mirage Server, Recital Terminal Developer