Hi
I'd like to know if what I'm trying to achieve is possible.
I have 2 tables
A user group table consisting of...
UserGroupID
Description
and
a user group members table consisting of...
UserGroupID (as above)
UserID
Want I want returned is a list of all the UserGroups with a flag to show which groups contain a certain user
i.e.
UserGroupID Description UserX
---------------------------------
1 Group1 No
2 Group2 Yes
3 Group3 Yes
Hope that's clear.
Thanks in advance
I'd like to know if what I'm trying to achieve is possible.
I have 2 tables
A user group table consisting of...
UserGroupID
Description
and
a user group members table consisting of...
UserGroupID (as above)
UserID
Want I want returned is a list of all the UserGroups with a flag to show which groups contain a certain user
i.e.
UserGroupID Description UserX
---------------------------------
1 Group1 No
2 Group2 Yes
3 Group3 Yes
Hope that's clear.
Thanks in advance