Hey guys,
Im trying to create a form which holds a list of departments. The user selects a department and if they are a member of that department and in a managers group then run a query which selects users from a table excluding themselves.
I have added the groups, I have added a column to the users table which holds thier group membership and now I am starting (trying to code). But Im not entierly sure how to go about it. I would need to use an IF sUser and groupID = me.departmentcombo.columnx
column x matching the groupid of sUser?
Thanks