Eljefegeneo
Still trying to learn
- Local time
- Today, 14:25
- Joined
- Jan 10, 2011
- Messages
- 902
I have a query where one of the fields is [Date1]. In the query I have the following to sort [Day1] by the day of the week. That is, Sun first, Monday second, etc.
Was using Access 2010 now using 2019 and this is giving me an error. Never had a problem before. So, what am I doing wrong and how do I solve this so that I can list the items in the query sorted by the Weekday in calendar order?
Code:
DaySort: InStr(1,"SuMoTuWeThFrSa",Left([Day1],2))