||Re: (no subject)
Akshat Kapoor <email@example.com>
||Wed, 7 Aug 2019 20:26:02 +0530
> this.EDITOR1 = new EDITOR(this)
> with (this.EDITOR1)
> visible = false
> height = 7.0
> left = 79.0
> top = 2.5
> width = 20.0
> dataLink = form.na1.rowset.fields["note1"]
> speedTip = "Info about the record on the VIEW."
Good Evening Ivan,
Please click on reply button rather than creating a new post everytime.
So that a thread is easy for follow by others.
You have attached the whole form but have not specified the line which
> 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)
> ?"Out of message box", cAnswer
> msgbox("Previous msgbox okay"+ str(cAnswer,2,0))
> DO CASE
> CASE cAnswer = 6 // returning by clicking YES
> form.rowset.editor1.visible = true // equals YES to show EDITOR1 information by it becaming visible.
Change the above line to form.editor1.visible = true
> CASE cAnswer = 7 // returning by clicking NO
> form.rowset.editor1.visible = false // DO NOT show EDITOR1 content info. end continue invisible.
Change above line to form.editor1.visible = false
> ENDCASE //
I have shortlisted the code for you to revise.
There is no such thing as form.rowset.editor1
It should be form.editor1
Make the changes in your form and try again.
You will succeed.