I have an access database with a table with two fields. They are 1. a GUID field and 2. a comma delimited set of values.
I want to take this table and for each row I want to do the following:
copy the GUID to a new rows field 1
parse out the first value of the csv field and copy to a new rows field 2
Continue to write new rows with the GUID and the next value in the csv field until all values have been written to new rows in a new table.
Input example:
GUID /CSV
4609F93EE2C8483 78BEB0BD7A26CF7 BD / 001, 001T, 002, 003, 004
Desired output:
GUID /SingleValue
4609F93EE2C8483 78BEB0BD7A26CF7 BD / 001
4609F93EE2C8483 78BEB0BD7A26CF7 BD / 001T
4609F93EE2C8483 78BEB0BD7A26CF7 BD / 002
4609F93EE2C8483 78BEB0BD7A26CF7 BD / 003
4609F93EE2C8483 78BEB0BD7A26CF7 BD /004
disregard the "/". I am just trying to distinguish the values from the GUID.
I don't use Access very much but I am importing excel bulk uploads and the base table rows have been inserted. The GUID is from that table. Now I need to add rows to another foreign key related table.
Thanks for any help you can give.
kageyone
I want to take this table and for each row I want to do the following:
copy the GUID to a new rows field 1
parse out the first value of the csv field and copy to a new rows field 2
Continue to write new rows with the GUID and the next value in the csv field until all values have been written to new rows in a new table.
Input example:
GUID /CSV
4609F93EE2C8483 78BEB0BD7A26CF7 BD / 001, 001T, 002, 003, 004
Desired output:
GUID /SingleValue
4609F93EE2C8483 78BEB0BD7A26CF7 BD / 001
4609F93EE2C8483 78BEB0BD7A26CF7 BD / 001T
4609F93EE2C8483 78BEB0BD7A26CF7 BD / 002
4609F93EE2C8483 78BEB0BD7A26CF7 BD / 003
4609F93EE2C8483 78BEB0BD7A26CF7 BD /004
disregard the "/". I am just trying to distinguish the values from the GUID.
I don't use Access very much but I am importing excel bulk uploads and the base table rows have been inserted. The GUID is from that table. Now I need to add rows to another foreign key related table.
Thanks for any help you can give.
kageyone
Comment