jconway
Programmer
- Dec 14, 2005
- 50
I am trying to concatenate the last 5 notes on each account in my database into one string field.
My DB looks like:
Acct# Note RowNum
1 Note 1 1
1 Note 2 2
1 Note 3 3
2 2 Note 1 1
2 2 Note 2 2
3 3 Note 1 1
4 4 Note 1 1
4 4 Note 2 2
What I need for output is:
Acct# Notes
1 Note 1 Note 2 Note 3
2 2 Note 1 2 Note 2
3 3 Note 1
4 4 Note 1 4 Note 2
I would appreciate any suggestions on how to do this. Thank you!
My DB looks like:
Acct# Note RowNum
1 Note 1 1
1 Note 2 2
1 Note 3 3
2 2 Note 1 1
2 2 Note 2 2
3 3 Note 1 1
4 4 Note 1 1
4 4 Note 2 2
What I need for output is:
Acct# Notes
1 Note 1 Note 2 Note 3
2 2 Note 1 2 Note 2
3 3 Note 1
4 4 Note 1 4 Note 2
I would appreciate any suggestions on how to do this. Thank you!