scootswiss
Technical User
I am working on a process to select the best fitting carton for our product line. I have a table of all items item with the length, width, height and cube for each item in separate fields. I also have a table of our possible shipping cartons with the L, W, H and inside cube in separate fields. I would like Access to be able to use the item's dimensions to reference the carton table and select the carton where the Product L <= to all Lengths of all possible cartons in the carton table, Product W <= the all the Widths of all possible cartons carton, and the same for height. When the best carton is found it would update a field in the items table.
I.e. item size is 10 x 6 x 2, possible cartons are A = 8 x 5 x 3, B = 10 x 7 x 3 and C = 10 x 8 x 5. The process should select carton B (even though B & C will work) and update the field to that part number. Smallest cube would be the deciding factor in choosing carton B since all dimension criteria are met.
Items table has 1000's of items, carton table has 15 - 20 cartons.
I.e. item size is 10 x 6 x 2, possible cartons are A = 8 x 5 x 3, B = 10 x 7 x 3 and C = 10 x 8 x 5. The process should select carton B (even though B & C will work) and update the field to that part number. Smallest cube would be the deciding factor in choosing carton B since all dimension criteria are met.
Items table has 1000's of items, carton table has 15 - 20 cartons.