I have a table called data in it we import the weekly units sold at our customers pos stations. The fields in the table are CMT_CODE(Customer Code), WEEK(mmddyyyy this date is always a sunday), ISBN(Item Number), UNITS_SOLD, INV_ON_HAND, INV_ON_ORDER. I want to enter a date for example 12/04/2005 and a specific CMT_CODE and have the query give me the following columns ISBN, CURRENT_WEEK_UNITS, WEEK_2_UNITS, WEEK_3_UNITS, etc... for eight weeks and the CURRENT_WEEK_INV_ON_HAND, CURRENT_WEEK_INV_ON_ORDER. If anyone has any suggestions please let me know.
Thanks,
Tbonehwd
Thanks,
Tbonehwd