I've been thinking more about this and, although it would require the report to run the Queries a bunch of times (hammering the backend database). . .
Could I nest collapsible sub-Reports in the following manner?:
Report 1
Code:
PO: <PO Number>
SO: <Our internally assigned tracking number>
<Line 1> <Glass Type> <Glass Size> <Order Qty.> <Date Due>
<Report 2>
<Line 1> <Glass Type> <Glass Size> <Order Qty.> <Date Due>
<Report 2>
. . .
Where the second Report looks either like this:
Code:
<Shipment 1> <Qty. Shipped> <% Shipped> <Invoice #> <Date Shipped>
<Shipment 2> <Qty. Shipped> <% Shipped> <Invoice #> <Date Shipped>
Total: <Qty. Shipped> <% Shipped>
Or like this:
And if that's so, how do I use sub-Reports (I'm a total newcomer to Reports in Access 2000)?
If you need Table information, assume I'm using the following 4 Tables:
SOMaster
-so_num - the internal tracking number
-po_num - the PO number the customer uses
-cust_id - the customer's internal ID number (for billing)
-ship_id - the shipping location's internal ID number
SODetail
-so_num - the internal tracking number of the item
-line_num - the line number of the item
-glass_type - the type of glass wanted (thickness, reflective, etc.)
-height - the height of the glass
-width - the width of the glass
-shape_id - the shape ID number of the glass (specifying radiused corners, angles, etc.)
-ord_qty - quantity ordered
-last_sched_qty - last quantity scheduled on the item
-tot_sched_qty - total quantity scheduled of the item (if we break some and have to schedule more)
-ship_qty - total quantity shipped
-due_date - when the item is needed by the customer
InvoiceMaster
-inv_num - the invoice number
-cust_id - the customer's internal ID number (for billing)
-ship_id - the shipping location's internal ID number
-date - the date of the invoice
InvoiceDetail
-inv_num - invoice number
-inv_line_num - the invoice's line number
-so_num - internal tracking number being invoiced on that line
-po_num - customer's PO being invoiced on that line
-inv_qty - quantity being invoiced
-price - the price of the glass being invoiced