cStringTitle in the historical reference.
AdvPL GuideSelectDate(cString,dData)Documents a date picker from the eAdvPL reference.
eAdvPL guide section 12.2 describes a calendar with a title and date variable. It says the selection is stored in the variable and also describes the date as return, without clarifying reference passing, cancellation or current support. We retain historical syntax without inferring those details. The uninvoked block concerns a legacy UI, not Schedule or REST. A current screen must test confirmation, cancellation and date bounds. (Sources: refs. 1–1.)
SelectDate(cString,dData)cStringTitle in the historical reference.
dDataDate variable; passing/cancellation unresolved.
Source mentions selected date; cancellation behavior unconfirmed.
#Include "Protheus.ch"
User Function Ed646()
// Historical subset; confirm date assignment and cancellation.
Local bCalendar := {|dDate| SelectDate("Calendar",dDate)}
ConOut(ValType(bCalendar))
Return NilCreates block B without opening a calendar or assuming caller argument mutation. 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.