Hi everyone,
I'm hoping for some assistance in automating label numbers for pallets. I currently have a manually entered Pallet_Number field that stores the pallet number for each item on a shipment and groups the items together so they can be printed on individual pallet labels. However, each pallet label can only contain a maximum of 3 unique items, otherwise it affects the formatting and the information spreads across multiple label sheets when printing. Therefore, I also need a label number field so the items can be grouped by label number instead of pallet number, thus fixing the formatting issue when there are over 3 unique items on one pallet. The label number for each item on a shipment could be manually entered but I would like to explore the possibility of this being automated.
I have attached a screenshot of a mock up in Excel of my database Pallets table to help explain my problem, where I have the Label_Number field automated using the formula shown in the image. The column headings in blue are existing fields in the Pallets table, the yellow column is a helper column for the formula to work in the spreadsheet and the green column is the new Label_Number field to be added to the Pallets table.
As shown in the screenshot, example shipment 10001A consists of 9 pallets but a total of 13 labels because 3 of the pallets have one or more label, as these pallets contain over 3 unique items (Ordered_Item_ID). I have colored the rows to show how the item grouping works for each label in this example.
I am stumped at where to start with this one. I don't know if the Label_Number field can be automated as a calculated field in the Labels report's source query or has to be updated using code as a field in the Pallets table.
Any help would be greatly appreciated.
Thanks,
Chris
I'm hoping for some assistance in automating label numbers for pallets. I currently have a manually entered Pallet_Number field that stores the pallet number for each item on a shipment and groups the items together so they can be printed on individual pallet labels. However, each pallet label can only contain a maximum of 3 unique items, otherwise it affects the formatting and the information spreads across multiple label sheets when printing. Therefore, I also need a label number field so the items can be grouped by label number instead of pallet number, thus fixing the formatting issue when there are over 3 unique items on one pallet. The label number for each item on a shipment could be manually entered but I would like to explore the possibility of this being automated.
I have attached a screenshot of a mock up in Excel of my database Pallets table to help explain my problem, where I have the Label_Number field automated using the formula shown in the image. The column headings in blue are existing fields in the Pallets table, the yellow column is a helper column for the formula to work in the spreadsheet and the green column is the new Label_Number field to be added to the Pallets table.
As shown in the screenshot, example shipment 10001A consists of 9 pallets but a total of 13 labels because 3 of the pallets have one or more label, as these pallets contain over 3 unique items (Ordered_Item_ID). I have colored the rows to show how the item grouping works for each label in this example.
I am stumped at where to start with this one. I don't know if the Label_Number field can be automated as a calculated field in the Labels report's source query or has to be updated using code as a field in the Pallets table.
Any help would be greatly appreciated.
Thanks,
Chris