cFieldTechnical field name.
AdvPL GuideX3Picture(cField) -> cPictureGets an SX3 field’s display picture.
Unlike parameterless X3Titulo/X3Descric, X3Picture receives the technical field name. A picture controls presentation, not physical length or content validation. The community sample uses D2_QUANT; this uninvoked block preserves that lookup without assuming universal decimals/picture. (Sources: refs. 1–2.)
X3Picture(cField) -> cPicturecFieldTechnical field name.
Character in the historical reference.
#Include "Protheus.ch"
User Function Ed723()
// Depends on environment dictionary; block not invoked.
Local bPicture := {|| X3Picture("D2_QUANT")}
ConOut(ValType(bPicture))
Return NilCreates block B without querying the field. 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.