Difference between revisions of "SET UICONTROLS"

From Recital Documentation Wiki
Jump to: navigation, search
Line 36: Line 36:
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|UICONTROLS]]
 
[[Category:Set_Commands|UICONTROLS]]
 +
[[Category:Input Output]]
 +
[[Category:Input Output Set Commands]]

Revision as of 11:48, 2 June 2009

Class

Input/Output


Purpose

Determine whether user interface commands are ignored


Syntax

SET UICONTROLS ON | OFF | (<expL>)


See Also

ISMIRAGE(), ISSERVER(), SET()


Description

This command determines whether commands applicable only in user interface based Recital products (Recital Terminal Developer and Recital Mirage client) are ignored. It applies to commands such as @...GET and @...SAY. Stored Procedures (server side programs '.prg') run by the Recital Database Server will run, by default, with SET UICONTROLS OFF. This means that commands that relate to the user interface do not cause errors, but are simply ignored. By default SET UICONTROLS is ON in Recital Terminal Developer and Recital Mirage Server.


Example

// Running under Recital Database Server
// @...SAY will be ignored
// Recital Mirage Client or Recital Terminal Developer
// Users will see the text
use demo
@1,1 say "Reindexing tables…."
reindex all


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer