In Crystal 8.5 I created a formula to concatenate date fields I have available to create a "real" date field:
DateSerial ({demographics.dem_high_school_grad_year},{demographics.dem_high_school_grad_month},1)
This formula appears to work and give me a good date field (example: 3/1/2007)
I am then using a formula in a running total to find students who graduated in the past 12 months:
DateDiff ("d", {rpt_generic.date_2},{@HS Grad Date}) <= 365
The formula checks out but when I try to preview I get the "Dates must be between year 1 and 9999" error and it opens my original DateSerial formula.
It's been frustrating because that DateSerial formula seems to work until I use it in the running total formula so I am reaching out for help, thank!
DateSerial ({demographics.dem_high_school_grad_year},{demographics.dem_high_school_grad_month},1)
This formula appears to work and give me a good date field (example: 3/1/2007)
I am then using a formula in a running total to find students who graduated in the past 12 months:
DateDiff ("d", {rpt_generic.date_2},{@HS Grad Date}) <= 365
The formula checks out but when I try to preview I get the "Dates must be between year 1 and 9999" error and it opens my original DateSerial formula.
It's been frustrating because that DateSerial formula seems to work until I use it in the running total formula so I am reaching out for help, thank!