bangalibhai
Programmer
Hi,
I am trying to display the rows as columns. I have seen a similar posting but can't seem to find it. Initially I have the below table.....
CUSTOMER CUST # ITEMS QTY
====================================
John Smith 1234 Item1 2
John Smith 1234 Item2 1
John Smith 1234 Item3 3
Joe Blow 1111 Item4 1
Joe Blow 1111 Item2 1
John Doe 2222 Item2 1
John Doe 2222 Item3 1
John Doe 2222 Item4 2
John Q 3333 Item1 1
I want to display as below....
CUSTOMER CUST # Item1 Item2 Item3 Item4
======================================================
John Smith 1234 2 1 3 0
Joe Blow 1111 0 1 0 1
John Doe 2222 0 1 1 2
John Q 3333 1 0 0 0
Your help is greatly appreaciated.
Thanks.
I am trying to display the rows as columns. I have seen a similar posting but can't seem to find it. Initially I have the below table.....
CUSTOMER CUST # ITEMS QTY
====================================
John Smith 1234 Item1 2
John Smith 1234 Item2 1
John Smith 1234 Item3 3
Joe Blow 1111 Item4 1
Joe Blow 1111 Item2 1
John Doe 2222 Item2 1
John Doe 2222 Item3 1
John Doe 2222 Item4 2
John Q 3333 Item1 1
I want to display as below....
CUSTOMER CUST # Item1 Item2 Item3 Item4
======================================================
John Smith 1234 2 1 3 0
Joe Blow 1111 0 1 0 1
John Doe 2222 0 1 1 2
John Q 3333 1 0 0 0
Your help is greatly appreaciated.
Thanks.