@Hyperbytes
OK So this what i’m doing.
I have an employee table which has an intCountryView column flag.
0 = see all counties.
1 = Ireland only
2 = UK only
There is a county table which lists all the counties by county ID, county name and a intCountryView column.
So, the first thing I do is get the intCountryView from the logged in employee.
In my case, I can see all counties, so my intCountryView ID = 0
Now (***I could be doing this all completely wrong!***), I run a Repeat so that I can use the returned value from the employees table i.e. 0.
Now that I have access to the returned value via the repeat, I preform a “IF” statement.
If the statement is true, I return all values from the county table. This would have been used to populate the Custom Select.
The next step after would be to preform another “IF” statement. So of the returned value = 1 (Ireland only), then I would have preformed a query to return all the counties linked to Ireland.
If this helps clear it up, great, if not, I am clearly wasting everyone’s time with my BullSh*t logic of how I expected it to work. Hehe
Thanks,
Ray