I am developing a database for a warehouse, I want to make an append query that keep repeating itself until a certain condition is met.
For example, I receive bulk quantity shipment in our warehouse and then we palletize them according to the packing type. I want to have following transactions
S.No Item Code Quantity Rcvd
1 A112550 145 cases
suppose A pallet is made with 40 cases, than upon executing of query, I want to receive result on subform as below;
s.no Item code Qty pallet
1. A112550 40 1
2. A112550 40 1
3. A112550 40 1
4. A112550 25 1
Hope I have explained my query requirement clear. If append query is not workable then VB code will also be welcome.
For example, I receive bulk quantity shipment in our warehouse and then we palletize them according to the packing type. I want to have following transactions
S.No Item Code Quantity Rcvd
1 A112550 145 cases
suppose A pallet is made with 40 cases, than upon executing of query, I want to receive result on subform as below;
s.no Item code Qty pallet
1. A112550 40 1
2. A112550 40 1
3. A112550 40 1
4. A112550 25 1
Hope I have explained my query requirement clear. If append query is not workable then VB code will also be welcome.