I have a date parameter and say i enter 02/08/07 then I want to display all sales for that week(Mon 30/07/05 - Sun 05/08/07)and not just the day (02/08/07).
How can I get the report to display the full weeks data?
This should give you a number, 1 to 53. You can also specify firstDayOfWeek or even firstDayOfWeek, firstWeekOfYear, if the standard answers are not what you want.
That would give you the equivalent week in several years. If that's not what you want, use Year({date})
Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10
that seems to work perfectly. If i wanted to expand on the selection formula and say whatever day they entered (eg 02/08/07) the report would then display this weeks sales and the previous 12 weeks also.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.