views:

66

answers:

2

I am attempting to create a report that contains a list nested within another list to produce the following layout:

      User name: Bob
      User info: Interesting stuff about Bob
    Permissions: Administrator
                 SuperUser
                 User

      User name: Next user
      etc...

The data looks like this:

    UserName     Details    PermissionName

    Bob          Interes... Administrator
    Bob          Interes... SuperUser
    Bob          Interes... User
    NextUser     More stuff User

In my example I am trying to display the user details using a list and then to display the permissions using a second list embedded within the first list. I decided to do this because there are a variable number of permissions that can be assigned to a user. However this approach doesn't seem to work.

Is there a better way or am I just missing something really obvious?

+1  A: 

how about using a sub report for the 2nd set?

Chamila
Thanks. This would work fine but I have a lot of different data to display using this layout on one report and I don't want to have to create lots of reports.
MikeD
+1  A: 

You can also use a table control and group your data on "UserName" with the detail grouped on "Permission".

Mozy
Thanks Mozy your approach works fine. In fact experimenting further the grouping turned out to be the essential part. I tried adding a grouping to the parent list view in my example and it also worked.
MikeD