oBrwExisting browse.
AdvPL GuideSET BROWSE oBrw ARRAY aArrayBinds a historical browse to in-memory data.
Historical eAdvPL reference, section 3.16. Syntax depends on that implementation’s macros and platform; current SmartClient support is unconfirmed. The array supplies rows; columns require separate setup. Visual binding does not write a Protheus table. Define row shape, handle empty lists and validate indices after replacing data. The guide’s global SetArray and class :SetArray methods have different contracts. (Sources: refs. 1–1.)
SET BROWSE oBrw ARRAY aArrayoBrwExisting browse.
aArrayRows matching columns.
No useful return documented in this subset.
// Fragment: oBrw exists with matching columns.
Local aRows := {{"A",1},{"B",2}}
SET BROWSE oBrw ARRAY aRowsAssociates two fictional rows without database persistence. 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.