I have a report that we have been using Parm Promts to enter the start dates for the next 3 months. I am using Crystal version 8.0 connecting to Baan 4cIV.
I am trying to sum the quantity on Order by date ranges.
Ex
Late = (Sum of all quantities with a due date later than today)
if {tdsls041.ddta} < {?today's date} then {tdsls045.oqua} else (0)
Month 1 (Sum of all quantities with a due date from today to the end on Month 1 {current month})
if {tdsls041.ddta} >= {?today's date} and {tdsls041.ddta} < {?Month 1 start date} then {tdsls045.oqua} else (0)
Month 2 (Sum of all quantities due next month)
Etc, Etc
I am having problems with the formulas to select the start of the next month. It workes fine when left as parm prompts as the dates are being manually entered. This does not allow the report to be auto-ran.
I need to be able to have it define the end of current month and start/end of subsequent months...
I am using the tdsls041.ddta to select date and the .oqua for the quantity.
Any help would be appreciated as the different formats I have been trying, to get this as a hard coded formula that changes based on what today is, have not worked.
Thanks in advance
Bart
I am trying to sum the quantity on Order by date ranges.
Ex
Late = (Sum of all quantities with a due date later than today)
if {tdsls041.ddta} < {?today's date} then {tdsls045.oqua} else (0)
Month 1 (Sum of all quantities with a due date from today to the end on Month 1 {current month})
if {tdsls041.ddta} >= {?today's date} and {tdsls041.ddta} < {?Month 1 start date} then {tdsls045.oqua} else (0)
Month 2 (Sum of all quantities due next month)
Etc, Etc
I am having problems with the formulas to select the start of the next month. It workes fine when left as parm prompts as the dates are being manually entered. This does not allow the report to be auto-ran.
I need to be able to have it define the end of current month and start/end of subsequent months...
I am using the tdsls041.ddta to select date and the .oqua for the quantity.
Any help would be appreciated as the different formats I have been trying, to get this as a hard coded formula that changes based on what today is, have not worked.
Thanks in advance
Bart