Hi Folks,
I'm rebuilding slowly a inherited 2007 DB that has some very strange features. One area is the 'staff' table. The Pk of this table has been built using the initials of the individual members of staff.
I must add, this is not an issue with the Pk, I will be adding a new Auto-Number one too the table before too long. The problem is with the two columns 'Staff Initials' and 'staff Name'. And the use they have been put to.
ok: I'm currently rebuilding this data in Excel:
Staff Initials.......Staff Name
AL......................Dr Arthur London
PM.....................Dr Peter Manchester
JNY....................Mr John New York
This table had no Title, forename or surname fields, so I have extracted that data no problem. And I can concatenate the names back together in a query no probs too.
The problems stem from when I come across a record in the table with the initials:
Staff Initials..........Staff name
AL/PM/JNY..............Dr Arthur London/Dr Peter Manchester/Mr John New York
(Yes inc... the forward slashes)
Apparently (I have been told, by the person who built the original DB), this has been done for a small (for small, read 107 records from 619), group of people who always teach together on certain subjects year after year.
Now, because of the number of clinics, lectures, seminars etc...that a person can do throughout the year, multiple staff participating in a session, needs to be grouped or concatenated into one line on reports. So I can see why they have done this in the first place.
But not really liking these multiple values in one field, I really want to get rid of them, but I'm at a loss as to how to get 3 separate records such as those above in blue to appear the same way as the single record above in green.
Anyone, any ideas?
Thanks in advance
Mike.
I'm rebuilding slowly a inherited 2007 DB that has some very strange features. One area is the 'staff' table. The Pk of this table has been built using the initials of the individual members of staff.
I must add, this is not an issue with the Pk, I will be adding a new Auto-Number one too the table before too long. The problem is with the two columns 'Staff Initials' and 'staff Name'. And the use they have been put to.
ok: I'm currently rebuilding this data in Excel:
Staff Initials.......Staff Name
AL......................Dr Arthur London
PM.....................Dr Peter Manchester
JNY....................Mr John New York
This table had no Title, forename or surname fields, so I have extracted that data no problem. And I can concatenate the names back together in a query no probs too.
The problems stem from when I come across a record in the table with the initials:
Staff Initials..........Staff name
AL/PM/JNY..............Dr Arthur London/Dr Peter Manchester/Mr John New York
(Yes inc... the forward slashes)
Apparently (I have been told, by the person who built the original DB), this has been done for a small (for small, read 107 records from 619), group of people who always teach together on certain subjects year after year.
Now, because of the number of clinics, lectures, seminars etc...that a person can do throughout the year, multiple staff participating in a session, needs to be grouped or concatenated into one line on reports. So I can see why they have done this in the first place.
But not really liking these multiple values in one field, I really want to get rid of them, but I'm at a loss as to how to get 3 separate records such as those above in blue to appear the same way as the single record above in green.
Anyone, any ideas?
Thanks in advance
Mike.