zoncou
zoncou
is a system variable that contains the name of the current field during a control called when an input in a mask is performed.
This function is only usable in Classic pages related code and is deprecated for code running in version 7 mode.
[S]zoncouzoncou
# Control on a grid (this label can be called on any field of the grid# If there is an error, return to the previous line on the same field.$CONTROLGosub CTRL_CONSISTENCYIf ERROR_FOUNDzonsui = zoncou+"(" + num$(max(nolign-2,0)) + ")"EndifEnd
zoncou
is an alphanumeric variable that contains the name of the current field inputted. It is available on any control, init or help action.
zoncou
does not contain the current index on arrays. indice
(0-based) or nolign
(1-based) can give this information.
zonsui
the name of the current field on which the check is made by using zoncou
:zonsui
= zoncou
zonsui = zoncou+"(" + num$(index) + ")"
Affzo, Diszo, Effzo, Envzo, Grizo, zc, zonsui, zonsor.