How to transform a table containg multiple records with a same name into a table with one record with a lot of field
example:
1|a
1|b
1|c
2|d
2|e
...
Become
1|a|b|c
2|d|e
...
If less than 65k lines, then you could just use the Transpose() formula in Excel. If greater than 65k, then maybe use a crosstab query in Access (if it will work with your data), or you could code it with SQL and/or using recordsets. You could look at one thread of mine which is a bit more complicated (I think from your example) than what you have here, b/c you are simply matching up values based on how they are matched up in original table..
take a look at thread705-902372
Stephen
"Jesus saith unto him, I am the way, the truth, and the life:
no man cometh unto the Father, but by me." John 14:6 KJV
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.