A2003 on Winxp
On a form a user enters a job number, then clicks a button to display a report in preview mode. This report prints a simple label with 3 fields. This report is based on a query, where the key field is taken from the form. One field on the report contains the quantity. The qty defaults from a field in a query that the report is based on. I would like, when the report preview is run, a window to pop up, showing the default qty, and allow the user to override the qty shown on the label. The qty is shown in 2 fields: human-readable form and in barcode form.
- Where do I put the Inputbox() function to ask for the new qty?
- How and in what event do I change the qty fields (call them txtQty and txtQtyBarcode) after the user clicks the OK button on the Inputbox() window?
Thanks.
On a form a user enters a job number, then clicks a button to display a report in preview mode. This report prints a simple label with 3 fields. This report is based on a query, where the key field is taken from the form. One field on the report contains the quantity. The qty defaults from a field in a query that the report is based on. I would like, when the report preview is run, a window to pop up, showing the default qty, and allow the user to override the qty shown on the label. The qty is shown in 2 fields: human-readable form and in barcode form.
- Where do I put the Inputbox() function to ask for the new qty?
- How and in what event do I change the qty fields (call them txtQty and txtQtyBarcode) after the user clicks the OK button on the Inputbox() window?
Thanks.