Hopefully the post title makes sense.
I have some vba which returns a result set from a sql database.
The sales data has each line from a customer order (with the order number in column B) Now depending on the size of the order there may be ten or more lines. Each record in the database has the shipping cost allocated to it for the whole order. The query returns hundreds of sales orders into a table.
So if one particulat order was 10 lines and the total shipping cost was 100, then each of the ten lines will have the 100 value against it.
I am trying to figure out a way to remove all but one of the shipping costs for any given sales order. As i mentioned the sales order number is in column B.
Hope someone can point me in the right direction
thanks in advance
Bookmarks