Week parameter in DatePart function returns incorrect/Random result.
Crystal Reports 2008.
Reproducing the Issue
- Create simple report.
- Create formula name as Test and type in as below
- DatePart("ww",#January 03,2009#,1,2)
- Test formula returns 9363 output.
This is not part of the current product functionality.
An Enhancement Request has been raised for this issue and can be tracked with ADAPT01310469. The Enhancement Request will be reviewed in terms of future product development when considering possible new features in next major release.
KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Product Enhancement