Hi Wizey,
Thanks for the response. I think, I missed some part of my question. Users in the RepCodes table, should be restricted to their respective codes, but rest of the users(may be called Super Users) should see all data from the Data Table.
I was trying to filter the SQL table 1, looking up RepCodes based on Email ( from SQL table 2) on the items property or Screen -Visible property of the Data table, but it wasn't working as the Data table already has a filter based on the dropdown values. Now, I created a collection, with adding Email column from the Table 2 to the SQL table 1 and filtering the collection with a Match value of the Email, but not sure if this the right approach.
So, the global variable will just restrict the users to their respective codes. Right? Can the superusers see all data based on this global variable?. Let me know more info needed from my end.