Query

Determines whether the component instance can only be used to retrieve, but not modify, data. When True, data can only be entered as a retrieve profile.

newinstance"A_FORM", "MyInstance","query=true | False"

Value Description
True Data entered in any of the form's fields can only be used as a retrieve profile to query the data. If a store statement is executed, the write, writeUp, delete, and deleteUp triggers are not activated, because the data is treated as unmodified.
False The component can be used to both retrieve and store data. Data entered in a field is treated as modified.

Description

You can set the query property when creating a new component instance. For example, the following statement starts a retrieve-only form:

$1 = $1 + 1
newinstance "MYFORM", "MYFORM%%$1", "QUERY=TRUE"

Caution: Do not use the QUERY=TRUE when running a component that has its Component Behavior property set to Keep component definition and data in memory.

Applies To