I have a summary layout of inspections, which are entered by different users with individual login accounts - all these users are grouped by a Privilege Set Name.(company name)
User: Shane Smith - Privilege Set - [USI]
User: Tony Smith - Privilege Set - [USI] etc
User: Tim Green- Privilege Set - [Western USI] etc
I am using this script to filter only that companies inspections for the singed in user.
The runs on layout enter.
The script works in general, all other companies inspections are not being displayed.
The problem is the script seems to be searching for USI and is returning both USI and Western USI inspections?
if the users belong to USI, I only what USI inspections.