F
FT1973MDB
I created a product / order database that they recently wanted to add a
shipping module to.
If we are shipping CDs, and you can fit 30 CDs in a box, I want the thing to
create a shipping label for each set of 30, and one label for any remaining
CDs in the last box.
So something like... (I will speak in Semi-SQL)
WHILE [ShipQty] is greater than 30 and more than 0
DO CMD Create shipping label;
[ShipQty]=([ShipQty]-30);
LOOP
DO CMD Create last shipping label
END
....Except I'm not quite sure what to say or where to put it, but I'm kind of
sure I need to loop... I was at first thinking writing the loop in a query
and then output via a "report" designed to fit on a label?? It's the end of
the week and my brain hurts - any help is appreciated.
shipping module to.
If we are shipping CDs, and you can fit 30 CDs in a box, I want the thing to
create a shipping label for each set of 30, and one label for any remaining
CDs in the last box.
So something like... (I will speak in Semi-SQL)
WHILE [ShipQty] is greater than 30 and more than 0
DO CMD Create shipping label;
[ShipQty]=([ShipQty]-30);
LOOP
DO CMD Create last shipping label
END
....Except I'm not quite sure what to say or where to put it, but I'm kind of
sure I need to loop... I was at first thinking writing the loop in a query
and then output via a "report" designed to fit on a label?? It's the end of
the week and my brain hurts - any help is appreciated.