MyComputerGuy
MIS
I am working on a report listing release dates and quantities for products (see thread149-1041264)
Currently, these fields exist in the database:
Job#, Release_Date, Release_Qty, Remaining_Qty. I have created a sub-report and calculated a subtotal for 'Remaining_Qty' within each Job#. I want to add a column to see the NEXT release date for each job if the 'Release_Qty is less than the 'Total_Remaining_Qty'.
Sorted by Date now shows:
Job # Release_Date Release_Qty Total_Remaining_Qty
(from Sub-Report)
12345 01/01/2005 100 400
12999 01/02/2005 200 800
12345 03/01/2005 100 400
12999 03/02/2005 200 800
12345 06/01/2005 100 400
12999 06/02/2005 200 800
12345 06/15/2005 100 400
12999 12/02/2005 200 800
I would like the report to show:
Job # Release_Date Release_Qty Total_Remaining_Qty Next-Release
(from Sub-Report)
12345 01/01/2005 100 400 03/01/2005
12999 01/02/2005 200 800 03/02/2005
12345 03/01/2005 100 400 06/01/2005
12999 03/02/2005 200 800 06/02/2005
12345 06/01/2005 100 400 06/15/2005
12999 06/02/2005 200 800 12/02/2005
12345 06/15/2005 100 400 (blank, no more releases)
12999 12/02/2005 200 800 (blank, no more releases)
The purpose of this is to quickly see that by 06/01 we need to produce 100 of Job# 12345 but it makes sense to produce the additional 100 for release on 06/15 at the same time , however releases for jobs may be separated by several pages in this report.
Thanks All....
Currently, these fields exist in the database:
Job#, Release_Date, Release_Qty, Remaining_Qty. I have created a sub-report and calculated a subtotal for 'Remaining_Qty' within each Job#. I want to add a column to see the NEXT release date for each job if the 'Release_Qty is less than the 'Total_Remaining_Qty'.
Sorted by Date now shows:
Job # Release_Date Release_Qty Total_Remaining_Qty
(from Sub-Report)
12345 01/01/2005 100 400
12999 01/02/2005 200 800
12345 03/01/2005 100 400
12999 03/02/2005 200 800
12345 06/01/2005 100 400
12999 06/02/2005 200 800
12345 06/15/2005 100 400
12999 12/02/2005 200 800
I would like the report to show:
Job # Release_Date Release_Qty Total_Remaining_Qty Next-Release
(from Sub-Report)
12345 01/01/2005 100 400 03/01/2005
12999 01/02/2005 200 800 03/02/2005
12345 03/01/2005 100 400 06/01/2005
12999 03/02/2005 200 800 06/02/2005
12345 06/01/2005 100 400 06/15/2005
12999 06/02/2005 200 800 12/02/2005
12345 06/15/2005 100 400 (blank, no more releases)
12999 12/02/2005 200 800 (blank, no more releases)
The purpose of this is to quickly see that by 06/01 we need to produce 100 of Job# 12345 but it makes sense to produce the additional 100 for release on 06/15 at the same time , however releases for jobs may be separated by several pages in this report.
Thanks All....