Is there a way I can correlate the number of labels printed for each person in one table with a “quantity” field in another table, or within a query?
I developed an access 2000 database for a city band to track its fruit sale. Now they would like to print off one ballot for every two boxes of fruit each student has sold. (there will be prizes).
Applicable Tables:
Students – contains names of sellers. Not all have sold.
Orders – contains studentid, orderid, customerid, date
Orderdetails – contains the quantity field I want to reference.
Customers – probably not needed in this equation but fyo
Products – probably not needed in this equation but fyo
Query:
SummaryofBoxesperStudent – displayes the total boxes each student has sold. Sum(OrderDetails.Quantity) and grouped by Students.studentid
How can I create a report that will print one label for every two boxes a student has sold?