- Roland Smith
- PowerBuilder
- Monday, 16 September 2019 03:37 PM UTC
PB 12.5
We have a global function that is called which finds SSN columns on a DataWindow and applies an editmask if the user doesn't have the proper permissions to see SSN.
Now I am trying to extend this to nested reports.
I have a free form DataWindow that has several nested reports. The SSN on the main DataWindow is being masked as expected. I added code which lists all the nested reports which works correctly.
The problem is that GetChild is not working. If it were working, I would loop through the columns and apply the editmask the same way I am already doing for the main DataWindow.
I was hoping to not have to modify the nested DataWindow itself to check permissions in the editmask expression.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.