Difference between revisions of "SET AUTOFORMAT"
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 34: | Line 34: | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Set_Commands|AUTOFORMAT]] | [[Category:Set_Commands|AUTOFORMAT]] | ||
+ | [[Category:Screen Forms]] | ||
+ | [[Category:Screen Forms Set Commands]] |
Revision as of 13:47, 2 June 2009
Class
Screen Forms
Purpose
Enable automatic screen format file opening
Syntax
SET AUTOFORMAT ON | OFF | (<expL>)
See Also
APPEND, CHANGE, EDIT, FMT(), INSERT, QUERY, SET FORMAT, USE
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