That will give you the next Sunday (the iif statement is to keep Sundays from jumping a week ahead). Put this in a text box...you can't do it in a label.
In the Format event for the Report header you would put
Me.lblName.Caption = Date()- Weekday(Date()) + 8
This assumes two things. One is you don't have a field named Date in your Report because if you do Access is likely to make Date() into a field (at least that's what it did in my text report)so if you do you may need to use Now() and Format() out the time portion. Two, this assumes Sunday is the first day of week. If you have any other setting there you will have to test for that. But assuming you don't have either situation, the expression should work as posted. Change lblName to your label name.
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.