Hi All,
This is my first post however i have been using the forum for a while, unfortunately i cannot find an answer to this particular problem.
I have exported data from an access database. There is a one-to-many relationship between a clients details and the clients plans.Therefore the clients details are duplicated whilst the plans are unique per row. I would idealy like each plan on the same row. Below is an example of my current data set;
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name:[/TD]
[TD]Address:[/TD]
[TD]Plan[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sam Tarly[/TD]
[TD]Address 1[/TD]
[TD]Plan A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sam Tarly[/TD]
[TD]Address 1[/TD]
[TD]Plan B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]John Snow[/TD]
[TD]Address 2[/TD]
[TD]Plan A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Arya Stark[/TD]
[TD]Address 3[/TD]
[TD]Plan B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Arya Stark[/TD]
[TD]Address 3[/TD]
[TD]Plan C[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Below would be my desired outcome;
[TABLE="width: 500"]
<tbody>[TR]
[TD]Sam Tarly[/TD]
[TD]Address 1[/TD]
[TD]Plan A[/TD]
[TD]Plan B[/TD]
[/TR]
[TR]
[TD]John Snow[/TD]
[TD]Address 2[/TD]
[TD]Plan A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Arya Stark[/TD]
[TD]Address 3[/TD]
[TD]Plan B[/TD]
[TD]Plan C[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be greatly appreciated, the simpler the better!
Kind Regards,
Chris
This is my first post however i have been using the forum for a while, unfortunately i cannot find an answer to this particular problem.
I have exported data from an access database. There is a one-to-many relationship between a clients details and the clients plans.Therefore the clients details are duplicated whilst the plans are unique per row. I would idealy like each plan on the same row. Below is an example of my current data set;
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name:[/TD]
[TD]Address:[/TD]
[TD]Plan[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sam Tarly[/TD]
[TD]Address 1[/TD]
[TD]Plan A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sam Tarly[/TD]
[TD]Address 1[/TD]
[TD]Plan B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]John Snow[/TD]
[TD]Address 2[/TD]
[TD]Plan A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Arya Stark[/TD]
[TD]Address 3[/TD]
[TD]Plan B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Arya Stark[/TD]
[TD]Address 3[/TD]
[TD]Plan C[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Below would be my desired outcome;
[TABLE="width: 500"]
<tbody>[TR]
[TD]Sam Tarly[/TD]
[TD]Address 1[/TD]
[TD]Plan A[/TD]
[TD]Plan B[/TD]
[/TR]
[TR]
[TD]John Snow[/TD]
[TD]Address 2[/TD]
[TD]Plan A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Arya Stark[/TD]
[TD]Address 3[/TD]
[TD]Plan B[/TD]
[TD]Plan C[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be greatly appreciated, the simpler the better!
Kind Regards,
Chris