actionashley
Josey Wales
- Local time
- Today, 04:51
- Joined
- Jun 16, 2010
- Messages
- 39
I am keeping track of production in access assigning lot numbers to products.
I need to print labels for bins of products I make. I have created a query to give me the specific lot number I need to print, a form to feed the query and a report to print the labels. My problem is I want to have a control on the form to indicate how many labels to print of each quantity. If I produce 10,500 parts I may need 10 labels at 1000 and 1 at 500 for instance. Currently I have a macro that opens the report in preview mode and I hit print and choose my quantity of labels which works but I want to make it a little more user friendly.
I tried this but it did not work
docmd.PrintOut ,,,,=[forms]![FormName]![ContolName]
Do I need to assign a variable for the number of copies instead of using an expression?
I need to print labels for bins of products I make. I have created a query to give me the specific lot number I need to print, a form to feed the query and a report to print the labels. My problem is I want to have a control on the form to indicate how many labels to print of each quantity. If I produce 10,500 parts I may need 10 labels at 1000 and 1 at 500 for instance. Currently I have a macro that opens the report in preview mode and I hit print and choose my quantity of labels which works but I want to make it a little more user friendly.
I tried this but it did not work
docmd.PrintOut ,,,,=[forms]![FormName]![ContolName]
Do I need to assign a variable for the number of copies instead of using an expression?