Crystal XI version 11.0.0.1282
SQL Server 2000
MS Windows XP Professional Version 2002 Service Pack 3
I am getting the "Dates must be between year 1 and year 9999" error message when I run my report. The following formula comes up and the bolded line is the line highlighted in the Crystal formula editor. I don't have the slightest idea how to modify this formula to make it work. I'd appreciate any help I can get.
EvaluateAfter({@Year});
EvaluateAfter({@Month});
Global DateVar StartDate;
Global Stringvar strMonth;
Global StringVar strYear;
Global NumberVar nSuppressYear:=CDbl(strYear);
Global NumberVar nSuppressMonth:=CDbl(strMonth);
Global NumberVar nSuppressNextMonth:=nSuppressMonth+1;
Global StringVar strSuppressEndDay:=ToText(Day(DateSerial(nSuppressYear,nSuppressNextMonth,1-1)),0);
SQL Server 2000
MS Windows XP Professional Version 2002 Service Pack 3
I am getting the "Dates must be between year 1 and year 9999" error message when I run my report. The following formula comes up and the bolded line is the line highlighted in the Crystal formula editor. I don't have the slightest idea how to modify this formula to make it work. I'd appreciate any help I can get.
EvaluateAfter({@Year});
EvaluateAfter({@Month});
Global DateVar StartDate;
Global Stringvar strMonth;
Global StringVar strYear;
Global NumberVar nSuppressYear:=CDbl(strYear);
Global NumberVar nSuppressMonth:=CDbl(strMonth);
Global NumberVar nSuppressNextMonth:=nSuppressMonth+1;
Global StringVar strSuppressEndDay:=ToText(Day(DateSerial(nSuppressYear,nSuppressNextMonth,1-1)),0);