AMT Help Files

Generation Switches

In a generation set, in the Parameters field, a number of switches can be set that will influence the way the generator generates the application.

Switch Description
SCROLLBAR=TRUE | FALSE

When set to TRUE, scrollbars are displayed, otherwise no scrollbars will be displayed.

Defaults to FALSE

SCROLLBARHORZ=TRUE | FALSE 

When set to TRUE, a horizontal scrollbar is displayed; otherwise none is displayed

Defaults to FALSE

SCROLLBARVERT=TRUE | FALSE

When set to TRUE, a vertical scrollbar is displayed; otherwise none is displayed. 

Defaults to FALSE

GRAPHMAXX=nn When set to a value larger than 0, all graphical paint that is located outside the specified maximal horizontal width (in pixels) will not be displayed. 
GRAPHMAXY=nn When set to a value larger than 0, all graphical paint that is located outside the specified maximal vertical height (in pixels) will not be displayed. 
DC-SEPARATOR=C
Here you specify the character to be used as a separator in the DC fields. AMT for LION uses '-' as a default. 
DELEMPTYRETAINFILE=TRUE | FALSE

When set to FALSE: When a File_Id in a report has a Physical-Filename set using Namefile with the option CLEARATFIRSTREAD, and no records have been written to the file, then an empty file is created at the end of the report.

When set to TRUE: no empty file will be created. 

Defaults to FALSE.

SQLWHEREEXPR=<Behaviour>

In previous AMT versions, fieldnames were supported on the right-side of an expression in a 'Where' clause of a database query.
To revert to this behaviour, the Generation Set switch "SQLWHEREEXPR" can be set to the string "FIELDNAME_FIELDNAME".

Defaults to "FIELDNAME_VALUE".

LOGVERBOSITY=<Log level>

The LOGVERBOSITY option overwrites the default log levels of the AMT Generator log file.

When not set, the default log level for the Generator log file is 'Minimal'.

  Quiet Minimal Normal Detailed Diagnostic
Errors
Warning    
Todo    
Exception
LogHigh  
LogNormal    
LogLow      
Debug        

Note: the generation logs shown in the AMT Developer and the Generator graphical application have a fixed 'Detailed' log level, this level can not be changed by this setting.