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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sort of Crosstab Query

Status
Not open for further replies.

JasGun

Programmer
Feb 28, 2001
12
GB
Hi,

I have a table example below and I need a query to format it in a different way, but, I am struggling at the moment.

Current Table:

Pol Hdr1 Hdr2
A Type Av
A Date 26/06/2003
A Ccy GBP
B Type NM
B Date 01/07/2003
B Ccy USD

What I need is:

Pol Type Date Ccy
A Av 26/06/2003 GBP
B NM 01/07/2003 USD

I've tried a crosstab but it isn't possible.
Can anyone help?

Thanks

JasGun
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top