
May 31st, 2004, 09:04 AM
|
|
Registered User
|
|
Join Date: May 2002
Location: Puerto Rico
Posts: 4
Time spent in forums: 30 m 26 sec
Reputation Power: 0
|
|
|
Microsoft Access Transpose/Concatenate
Hi! I know this forum is not mainly for Access, but I think you guys might be able to help.
This is what I have, and what I need.
Code:
Input:
---+----+---
id | e1 | e2
---+----+---
1 | 1A | 1B
1 | 1C | 1D
2 | 2A | 2B
3 | 3A |
4 | | 4A
4 | | 4B
Output:
id | errors
---+---------
1 | 1A1B1C1D
2 | 2A2B
3 | 3A
4 | 4A4B
As you can see, its a mix of transpose and concatenate. I know how to do the concat (e1 & e2) but the transposing I think will take some VB coding. I have limited experience with that (made a quick and dirty chat client back a few years ago) but I can't claim to know how to work with DB data in VB.
Sadly, thats the format in which we get the data at our company (record processing results from another company). Any help will be greatly appreciated.
Thanks!
|