PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Nomads Adding Security Class to Control  (Read 1076 times)

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
Nomads Adding Security Class to Control
« on: May 03, 2021, 03:10:28 PM »
Hello All,

We've used a feature of pxplus for several years now whereby we add a Security Class to a control if the Client requests "That they never want to see that field."
It has worked perfect over the years. No matter what group it is in, no matter what code hides/shows control, the customer will never see it because No One is a member of that security class.

Recently as we have migrated to new versions of pxplus, we are noticing it still hides the control but it leaves the query button on screen.

has anyone seen this and is there any fix we can add to any pxplus programs that could help solve this problem.

Jeff

Jane Raymond

  • Staff
  • Diamond Member
  • *****
  • Posts: 280
    • View Profile
    • PVX Plus Technologies
Re: Nomads Adding Security Class to Control
« Reply #1 on: May 03, 2021, 03:33:39 PM »
Yes, we have fixed this for the upcoming release.
I'll track down the code changes and post them.
Jane Raymond
Software Developer
PVX Plus Technologies Ltd.

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
Re: Nomads Adding Security Class to Control
« Reply #2 on: May 03, 2021, 03:52:58 PM »
Thank you Jane for the quick response Jane.  A lot of folks here are relieved to hear that.

Jane Raymond

  • Staff
  • Diamond Member
  • *****
  • Posts: 280
    • View Profile
    • PVX Plus Technologies
Re: Nomads Adding Security Class to Control
« Reply #3 on: May 03, 2021, 03:54:54 PM »
You didn't mention which version you're using, but I think that as of PxPlus 2016 Upd1, you can change line 4240 of *winproc.dsp to:

4240 IF _ORIG_H<=1 AND _OBJ_QRY$<>"" AND POS("h"=_OBJ_STS$)=0 THEN GOSUB Do_Query_Button
Jane Raymond
Software Developer
PVX Plus Technologies Ltd.

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
Re: Nomads Adding Security Class to Control
« Reply #4 on: May 03, 2021, 04:11:27 PM »
you are right Jane.
that is the version...
thanks again