Hi. I need to add some functionality to an existing report that compares actual deliveries to required deliveries. The parent report is grouped by contract line item number ("CLIN"), with two subreports linked to the parent CLIN by CLIN_ID. To keep things simple, we'll call the parent report "DELIVERIES TO CONTRACT" and the two subreports "REQUIRED" and "ACTUALS."
Each subreport has a quantity field representing, respectively, the quantity required BY a given date and the actual quantity shipped ON a given date. Note that individual shipments are partial fulfillments toward the total CLIN requirement, and may be shipped in advance of contract need. Of course, we may also ship late and be penalized accordingly. Each subreport also includes a running sum on the same quantity field to show cumulative requirements and cumulative shipments with each subreport record.
The output looks something like this (forgive the font spacing):
CLIN 123, CLIN DESCRIPTION, TOTAL QTY
REQUIRED ACTUALS
DATE QTY CUM QTY DATE P/N QTY CUM QTY
Required shipment A Actual delivery A
Required shipment B Actual delivery B
Actual delivery C
Actual delivery D
Actual delivery E
CLIN 456, CLIN DESCRIPTION, TOTAL QTY
REQUIRED ACTUALS
DATE QTY CUM QTY DATE P/N QTY CUM QTY
Required shipment A Actual delivery A
Required shipment B Actual delivery B
Actual delivery C
Actual delivery D
Actual delivery E
[/color red]
What I need to do is to perform some sort of attention-getting format on each entry in the REQUIRED subreport where the running sum for quantity delivered BY THE DATE OF REQUIRED SHIPMENT is not >= the running sum of required quantity.
Any suggestions would be greatly appreciated.
Thanks,
Tom
Each subreport has a quantity field representing, respectively, the quantity required BY a given date and the actual quantity shipped ON a given date. Note that individual shipments are partial fulfillments toward the total CLIN requirement, and may be shipped in advance of contract need. Of course, we may also ship late and be penalized accordingly. Each subreport also includes a running sum on the same quantity field to show cumulative requirements and cumulative shipments with each subreport record.
The output looks something like this (forgive the font spacing):
CLIN 123, CLIN DESCRIPTION, TOTAL QTY
REQUIRED ACTUALS
DATE QTY CUM QTY DATE P/N QTY CUM QTY
Required shipment A Actual delivery A
Required shipment B Actual delivery B
Actual delivery C
Actual delivery D
Actual delivery E
CLIN 456, CLIN DESCRIPTION, TOTAL QTY
REQUIRED ACTUALS
DATE QTY CUM QTY DATE P/N QTY CUM QTY
Required shipment A Actual delivery A
Required shipment B Actual delivery B
Actual delivery C
Actual delivery D
Actual delivery E
[/color red]
What I need to do is to perform some sort of attention-getting format on each entry in the REQUIRED subreport where the running sum for quantity delivered BY THE DATE OF REQUIRED SHIPMENT is not >= the running sum of required quantity.
Any suggestions would be greatly appreciated.
Thanks,
Tom