Hello,
Here is my setup Crystal Reports 9 running against SQL Server Database. Based on the field {OPENCLOSE.GENERICDATE1} I need to display a target date every 6 months for at least the next 5 years.
I am able to do one 6 month interval with the following formula
DateAdd ("m", 6, {OPENCLOSE.GENERICDATE1})
Is there a way to loop this for the next 5 years. Also {OPENCLOSE.GENERICDATE1} could be several years in the past, but I only need future dates from CurrentDate. How do I eliminate dates in the past?
I appreciate any suggestions. Thanks.
Here is my setup Crystal Reports 9 running against SQL Server Database. Based on the field {OPENCLOSE.GENERICDATE1} I need to display a target date every 6 months for at least the next 5 years.
I am able to do one 6 month interval with the following formula
DateAdd ("m", 6, {OPENCLOSE.GENERICDATE1})
Is there a way to loop this for the next 5 years. Also {OPENCLOSE.GENERICDATE1} could be several years in the past, but I only need future dates from CurrentDate. How do I eliminate dates in the past?
I appreciate any suggestions. Thanks.