Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recordset Concatenation?

Status
Not open for further replies.

GKWilly

MIS
Dec 16, 2004
33
GB
I'm sure that there is a simple solution to this but I'm having a bad brain day.
I have a table of data as below.

col1 col2
Manders Data Input
Manders Exams
Manders Applications
FBloggs Exams
FBloggs Applications

I'm trying to get results as follows:

col1 col2 col3 col4
Manders Data Input Exams Applications
FBloggs Exams Applications

I've tried using Case statements but cannot get the right result.
Can anyone point me in the direction of any functions/syntax that could help?
Many thanks

Martin
 
Crosstab Query - PART I (Code Generator) faq183-5269.
-Karl

[red] Cursors, triggers, user-defined functions and dynamic SQL are an axis of evil![/red]
[green]Life's uncertain...eat dessert first...www.deerfieldbakery.com[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top