SET AUTOFORMAT

From Recital Documentation Wiki
Revision as of 17:00, 10 March 2009 by Yvonnemilne (Talk | contribs)

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

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