cGroupQuestion group registered in SX1.
AdvPL GuidePergunte( <cGrupo>, [lPerg], [cTitulo], [lCanSave], [lUserSave] )Displays parameterized questions registered in SX1.
Pergunte() presents the user with a question group from the SX1 dictionary. It is common in reports and parameterized routines because it collects filters and options before the main execution.
Pergunte( <cGrupo>, [lPerg], [cTitulo], [lCanSave], [lUserSave] )cGroupQuestion group registered in SX1.
lAskIndicates whether the question screen should be displayed.
cTitleTitle shown in the question window.
lCanSaveIndicates whether parameters can be saved.
lUserSaveIndicates user-based saving.
#Include "TOTVS.ch"
User Function ExPergunte()
Local cGrupo := "ZZREL01"
If Pergunte(cGrupo, .T., "Parâmetros do relatório")
MsgInfo("Parâmetros confirmados.")
EndIf
ReturnThe routine presents the question group and continues when the user confirms.
© 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.