cAliasOpen data work area.
AdvPL GuideMarkBrow(cAlias,cCampo,[cCpo],[aCampos],[lInverte],cMarca,[cCtrlM],[uPar],[cExpIni],[cExpFim],[cAval]) -> NILDisplays a legacy mark-selection browse.
Alias, mark-storage field and cMarca form the minimum contract. aCampos defines columns; callbacks and ranges depend on the index and caller. Requires Private cCadastro and aRotina. A mark is not a business permission or authorization to change records. This example prepares a reduced call without opening a window or writing real tables. Historical reference: verify behavior in the deployed release/RDD. (Sources: refs. 1–2.)
MarkBrow(cAlias,cCampo,[cCpo],[aCampos],[lInverte],cMarca,[cCtrlM],[uPar],[cExpIni],[cExpFim],[cAval]) -> NILcAliasOpen data work area.
cCampoMark field.
cMarcaValue used to mark rows.
NIL according to the historical source; remaining optional arguments are documented there.
#Include "Protheus.ch"
User Function Ed522()
// Requires a prepared alias/field and Private context; do not invoke alone.
Local bBrowse := {|cAlias,cField,cMark| MarkBrow(cAlias,cField,,,,cMark)}
ConOut(ValType(bBrowse))
Return NilPrints B. The caller must supply mark and context before evaluation. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.