P
Patrik
Hi everybody,
I have an Access table were I have two columns... like this:
Column1 Column2
==========================================
AB12345C U1234, U2345, U3456
EF67890_G U4321
HIJ12121 U9876, U6789, U1480, U4321
K98798P_P U9999, U2315
The first column has unique fields (as string) and the second column
consists of fields (as string) which can have one or more 'Uxxxx'
separated with a ", ". Now I need somehow to get the table to look
like this:
Column1 Column2
========================
AB12345C U1234
AB12345C U2345
AB12345C U3456
EF67890_G U4321
HIJ12121 U9876
HIJ12121 U6789
HIJ12121 U1480
HIJ12121 U4321
K98798P_P U9999
K98798P_P U2315
So, I want to separate the second column to new rows, if there are
more than just one Uxxxx. It's hard to explain but I think that the
graph above will give the best hint what I'm trying to achive.
I have tried to find all kind of solutions, VBA-functions, queries,
but there have been no luck at all... so if somebody have any ideas or
solutions to my problem I would be more than grateful!
Thanx in advance! =)
I have an Access table were I have two columns... like this:
Column1 Column2
==========================================
AB12345C U1234, U2345, U3456
EF67890_G U4321
HIJ12121 U9876, U6789, U1480, U4321
K98798P_P U9999, U2315
The first column has unique fields (as string) and the second column
consists of fields (as string) which can have one or more 'Uxxxx'
separated with a ", ". Now I need somehow to get the table to look
like this:
Column1 Column2
========================
AB12345C U1234
AB12345C U2345
AB12345C U3456
EF67890_G U4321
HIJ12121 U9876
HIJ12121 U6789
HIJ12121 U1480
HIJ12121 U4321
K98798P_P U9999
K98798P_P U2315
So, I want to separate the second column to new rows, if there are
more than just one Uxxxx. It's hard to explain but I think that the
graph above will give the best hint what I'm trying to achive.
I have tried to find all kind of solutions, VBA-functions, queries,
but there have been no luck at all... so if somebody have any ideas or
solutions to my problem I would be more than grateful!
Thanx in advance! =)