Hi Again,
I am trying to create an inventory report that displays different vendors and their price by item numbers.
So part of my report creation is to grab the data and dump it into a temp table like the following
DROP TABLE temp_vbelts_table5
SELECT POR_VendorPriceLevel.itemnumber, POR_VendorPriceLevel.VendorNumber,
POR_VendorPriceLevel.DiscountMarkup1 INTO temp_vbelts_table5
FROM temp_vbelts_table1, POR_VendorPriceLevel
WHERE temp_vbelts_table1.itemnumber = POR_VendorPriceLevel.ItemNumber
ORDER BY temp_vbelts_table1.itemnumber
so my data is like the following:
Vendor1 25.50
Vendor2 45.00
Vendor3 75.00
What would like to learn how to do is if possible is output the data so each vendor is it's own column with the according price for the item? Is this possible?
Sue
I am trying to create an inventory report that displays different vendors and their price by item numbers.
So part of my report creation is to grab the data and dump it into a temp table like the following
DROP TABLE temp_vbelts_table5
SELECT POR_VendorPriceLevel.itemnumber, POR_VendorPriceLevel.VendorNumber,
POR_VendorPriceLevel.DiscountMarkup1 INTO temp_vbelts_table5
FROM temp_vbelts_table1, POR_VendorPriceLevel
WHERE temp_vbelts_table1.itemnumber = POR_VendorPriceLevel.ItemNumber
ORDER BY temp_vbelts_table1.itemnumber
so my data is like the following:
Vendor1 25.50
Vendor2 45.00
Vendor3 75.00
What would like to learn how to do is if possible is output the data so each vendor is it's own column with the according price for the item? Is this possible?
Sue