Didn't get a solution the first time so thought I would try again. Have a table that looks like this:
MasterOrder Order2 Order3 Order4 Costperlb
111111 222222 333333 444444 .088
123456 456789 .109
777777 888888 .045
All the order fields on a record (a shipment) refer to a common field called "Costperlb". These records will not always have multiple order numbers.
I basically need to have a query that will bring back results that identifies each individual order number and the referring "Costperlb". So it would basically look like this, using an alias of "Orderno" for all the different "order" fields.
Orderno Costperlb
111111 .088
123456 .109
222222 .088
333333 .088
444444 .088
456789 .109
777777 .045
etc.
Have tried several angles at getting this, but no luck. Any thoughts.
MasterOrder Order2 Order3 Order4 Costperlb
111111 222222 333333 444444 .088
123456 456789 .109
777777 888888 .045
All the order fields on a record (a shipment) refer to a common field called "Costperlb". These records will not always have multiple order numbers.
I basically need to have a query that will bring back results that identifies each individual order number and the referring "Costperlb". So it would basically look like this, using an alias of "Orderno" for all the different "order" fields.
Orderno Costperlb
111111 .088
123456 .109
222222 .088
333333 .088
444444 .088
456789 .109
777777 .045
etc.
Have tried several angles at getting this, but no luck. Any thoughts.