NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on August 24, 2014, 09:59:35 PM
-
Hi Guys,
I'd like to use the 'change' button condition on a NetWebBrowse to hide the button upon a condition in my record.
I've tried File:Status = 'R' and p_Web.GetSessionValue('File:Status') = 'R', but as soon as I enter the code, the button is hidden, regardless of the "status" field value.
I've also tried an in line "change" button,
What is the correct syntax here?
-
Rupert.
It will have to be an inline button, the status of the change button is determined by the value in the first record in the browse (or maybe the last I can't remember which ) but anyway either the change button will be there for all records in the browse or hidden for all records in the browse if you use a change button on the bottom of the browse.
On the Form Tab\Show buttons\change File:Status = 'R' should work.
Any records having this value should have an inline change button any other value will hide the button
In one of my apps I have CLA:ImageExists = 0 AND p_web.GetSessionLevel() >=6
Which only displays a change button if an image exists and the logged in user level is >=6
This works so yours should as well