calpolymis1
MIS
Hi. I don't know if this would be possible, but here is the scenario. I have tblOrder and tblDetail connected by OrderID. tblOrder has briefly CustomerPO, ContainerQty, and ItemCode. tblDetail has CustomerPOTrack, ItemCode_Detail. CustomerPOTrack is generated by CustomerPO by adding "-1, -2..". For example, if CustomerPO is 12345, then CustomerPOTrack goes like 12345-1, 12345-2... ItemCode_Detail in tblDetail gets the value in ItemCode mostly.
What I want to do is to generate a set number (a number in ContainerQty)of subform records by clicking a button. For exmaple, if I have CustomerPO 12345, ContainerQty 30, and ItemCode is CCC0101, then 30 subform records are automatically generated in a way that CustomerPOTrack starts from 12345-1 to 12345-30, ItemCode is all CCC0101 in the subform record.
How could I do this? Thanks for your comments in advance.
What I want to do is to generate a set number (a number in ContainerQty)of subform records by clicking a button. For exmaple, if I have CustomerPO 12345, ContainerQty 30, and ItemCode is CCC0101, then 30 subform records are automatically generated in a way that CustomerPOTrack starts from 12345-1 to 12345-30, ItemCode is all CCC0101 in the subform record.
How could I do this? Thanks for your comments in advance.