Access seems to think the week begins on Sunday, wrong, I have a client whose week begins on Monday. How do I change Access's mind to my way of thinking as far as forms/reports are concerned?
I think every time you use a function returning/using/involving weekdays, cause sunday is default.
For instance the weekday function:
[tt]=weekday(Date(),2)[/tt] - as control source
[tt]intDay=weekday(Date(),vbMonday)[/tt] - in VBA code
Last argument is "firstdayofweek" which then must be set each time you use it. The vbMonday constant might be used in code, 2 (same as vbMonday constant) might be used in control source.
You could also try using 0 (vbUseSystem) to make it use the regional settings, but that might still provide some anomalities.
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.