status

status is a system variable that contains the return status of an entry statement.

This variable is only usable in Classic pages related code and is deprecated for code running in version 7 mode.

Class, type and dimension

Tinyint [S]status

Description and comments

status is used to know the result of an entry operation.

This variable is also reset to 1 after an Affzo display operation.

The different values possible are described in the following table:

StatusesAssociated variablesDescriptionIndex
GETABOU
1Tab positioning
2 Selection window on a field
4GSTARETExit by return
5Shift+tab positioning
7GSTAESCClosing the box
20GSTATIRPositioning via mouse click to a field
21Positioning via mouse click to a grid
26Entry in a grid by double-click on a cell
27GSTALFTClick on left list
28GSTALF2Double-click on left list
36GSTALF3Click on hierarchized list
37GSTALF4Double-click on hierarchized list
41De-selection in the picking box
42GSTAPICEvent on picking box
43De-selection in hierarchized picking box
44GSTAPKFClosing a picking box
45GSTASRAQuick selection
46 activation of the "VERIFIER" button in the formula editor
47 Selection of a parent element without a child element in the formula editor
48GSTAPRGPrevious page for the left list
49GSTASVGNext page for the left list
55GSTABOILeft list end
65Cancellation of a line
68Cancellation of a group of lines
71Line change
73Line insert
75Line modification
82Summary
83Delete a group of lines
91GSTANEWFile/NewGNOUV
92GSTAENRFile/SaveGENRE
93GSTACREFile/CreateGCREE
94GSTAANUFile/DeleteGSUPP
95GSTASELFile/SelectGSELE
96GSTAFIRFile/FirstGPREM
97GSTALASFile/LastGDERN
98GSTASUIFile/NextGSUIV
99GSTAPREFile/PreviousGPREC
129-136GBOUT1..8Contextual menus
145GSTAEURDisplay/Euro
147GSTAMHLHelp modification
148GSTAHLPField information
1029GSTAOKOK buttonGVALI
1100-1119GSTASPE1..6Application buttons preceded by controls (GSTABOU+I)GSPE1..6
1200-1219Application menus preceded by controls
1220-1239Statuses for the specific/custom developments preceded by controls
1792GSTAFINAbort buttonGABAN
1793GSTACHGFile/Code changeGCHAN
1794GSTAJOIFile/AttachmentsGJOIN
1795GSTACOMFile/CommentsGCOMM
1796GSTAEDIFile/PrintGEDIT
1797GSTALISFile/ListGLIST
1798GSTADATFile/PropertiesGDATC
1799GSTARAFDisplay/RefreshGRAFF
1800-1819Application buttons without controls (GSTABOU2+I)
1820GSTATRNTransaction buttonGTRAN
1821GSTAFINEnd button 
1822GSTAHLOOBjet on Parameter help
1823GSTASTAStatistics
1824GSTAWORWorkflow
1825GSTALNKLink browser
1826GSTAUNLweb service site: unlock and abort current record
1827GSTAMOTKey-word selection
1828GSTALITforcing the read
1829GSTANBRNumber of records in an OBject (GEODE)
1830GSTAPCKSelection on a picking browser ( GEODE )
1831GSTAENVChanging environment ( GEODE )
1832GSTAPCK1Check all on a picking browser ( GEODE )
1833GSTAPCK2Uncheck all on a picking browser ( GEODE )
2000-2019Application menus without controls
2020-2029Statuses for the specific/custom developments without controls