NetTalk Central

Author Topic: Conditionally hide an in row change button on browse  (Read 4312 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Conditionally hide an in row change button on browse
« on: December 30, 2019, 08:18:05 PM »
Hello
Happy New Year !
I have a NT browse with an inrow change button
I want to conditionally hide that button based on the user's access level( i have the GSV('access')for the user)

Im sure there must be a simple way.....?

thanks
Richard

rainerwallenius

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • Email
Re: Conditionally hide an in row change button on browse
« Reply #1 on: December 31, 2019, 03:09:00 AM »
Hi Richard

I use Column condition in Column-tab on the field. Column-tab is behind Header-tab

:: rainer

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Conditionally hide an in row change button on browse
« Reply #2 on: December 31, 2019, 07:35:48 AM »
Use the Column Condition option in the Browse Template.

You can use p_web.GetSessionLevel() = ???

or your own custom session value.

See attached image.
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Re: Conditionally hide an in row change button on browse
« Reply #3 on: January 01, 2020, 05:16:04 PM »
Thanks Guys, works a treat.
Cheers
Richard