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.
Thanks a lot it worked for me. btw this should be accepted answer.
Regards,
Berka