AMT Help Files

Options

Opening a Global Routine reveals its Options menu by default. The basic options Name and Description can be changed, as well as the more advanced options that change the behavior of the Global Routine.


  The options of a Performed Global Routine.
 

Option:

Description:

Value:

Name

A free to choose name for the global routine.

<Text>

Description

A free to choose description for the global routine.

<Text>

Type

In the type panel, you can redefine the type of this object as a DLL, an insertable or a performed global routine.

Inline/Performed/DLL/Includable

Call conditions

Determines how long a value/state for local variables must be retained. This option is only useful if the global routine is of the type Performable or DLL.

Re-initialize before every call/
Keep local variables after every call.

Set SI-DBSTATUS on deadlocks/locks etc.

If enabled, SI-DBSTATUS will be set when specific cursor query operations in the global routine dll can not be executed. If set to default, then the behavior will be according to the application options setting.

Default/Yes/No

Automatically LOCK record if there is an update (DLL only)

If enabled, AMT will search in the code for <Table query>.UPDATE instructions before executing the code. If an update on a Table query is found, AMT will lock all read records using that Table query, even if these reads appear in the code before the .UPDATE command itself.

Example:

qTB1.INDEX (IND_A)

//all read records are locked
qTB1.START (0, 12)
LOOP qTB1
qTB1.UPDATE (*)
ENDLOOP

If you have this option disabled, you might want to receive a warning when writing an .UPDATE without locking the records that are read. If an administrator sets the applicable Global Option, developers will get this warning.

If set to default, the concerned locking mechanism will work according to the switch "Automatically lock record" in the application options.

Default/Yes/No

Report type

Type of print layout output.

Text/Graphical

Decimal sign

Character that is used as separator in decimal values. Dot/Comma/Default

Separator character

Separator that is displayed between every three digits counted from the right in numeric values. Dot/Comma/Apostrophe/None

Currency sign

Character that is used in amounts.

<Text>

Maximum layout width

The maximal width for a print layout.

<Numeric>

Floating sign

Dynamic screen position, depending on the size of a value.

Enabled/Disabled

Clear print fields after a PRINT

Only if enabled, the print layout will be cleared after a PRINT command.

Enabled/Disabled