![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I hope I can word this so that you can understand. I am using Access 2007 and I have a simple query that returns the following results: User_ID SAP Role smith abc:je entry But within the results of this query there are roles that are common to many users. I want to find the same roles that are assigned to users and then to find the roles that are different. Does this make sense? This way I can show all roles that users have that are the same and then conversely show which roles some people have and others don't. I'm not sure I understand. Show us some sample data, then show us the |
#3
| |||
| |||
|
|
mpdsal wrote: I hope I can word this so that you can understand. I am using Access 2007 and I have a simple query that returns the following results: User_ID * SAP Role smith * * * abc:je entry But within the results of this query there are roles that are common to many users. I want to find the same roles that are assigned to users and then to find the roles that are different. Does this make sense? This way I can show all roles that users have that are the same and then conversely show which roles some people have and others don't. I'm not sure I understand. Show us some sample data, then show us the results you want from that sample data - a picture is worth a thousand words. Additionally, going through this exercise might allow you to figure out how to do it on your own. |
#4
| |||
| |||
|
|
Bob, Good point. Here is what the data looks like: ColA is User ID and ColB is RoleName. What I would like to do is show the results of all roles that are common to users, in this case MarkD, BillS, and JoeD have Role2 assigned. This way I can prepare a report that says these users all have the same role(s) assigned to them. Does this make it a bit more clearer? UserID RoleName MarkD Role1 MarkD Role2 MarkD Role3 BillS Role1 BillS Role2 BillS Role26X JoeD Role2 JoeD Role3 JoeD Role42B So my new query showing common roles to each user would look like this: MarkD Role2 BillS Role2 JoeD Role2 Thanks Mark |
#5
| |||
| |||
|
|
where = c.rolename = t.rolename) |
![]() |
| Thread Tools | |
| Display Modes | |
| |