||Re: About the returning value of MsgBox
Akshat Kapoor <email@example.com>
||Wed, 7 Aug 2019 19:52:02 +0530
On 07/08/2019 19:35, Ivan Benttini wrote:
> here is the code of my form:
> function PUSHBUTTON18_onClick
> // SPECIAL NOTES ...Check to see if you have permission to Open this private INFORMATION.
> // # 4 means YES-NO for MSGBOX() returns.
> local cAnswer
> //cAnswer = " "
> cAnswer = msgBox("Enter special OPTION to view private information","Are you sure?",4+32)
> DO CASE
> CASE cAnswer = 6 // returning by clicking YES
> form.rowset.editor1.visible = true // equals YES to show EDITOR1 information by it becaming visible.
Good Evening Ivan,
I had replied to your earlier post also.
99% of the chances of error are in the line
form.rowset.editor1.visible = true
Maybe you were intending
form.editor1.visible = true
A rowset doesnot have a editor control.
You must be refering to another control on the form datalinked to a
Please check again.