John W. Vinson said:
This seems like a really complicated form to do something that should be
simpler, but...!
Consider having a Combo Box instead of the textbox txtWeekDate. Base it on a
Sundays table, which you can very easily create using Fill... Series in Excel;
just have every Sunday from now for the next twenty years or so. If the users
will only be filling in future dates, you could base the combo on a query such
as
SELECT SundayDate FROM Sundays
WHERE SundayDate >= Date()
ORDER BY SundayDate;
Or you could have it select some reasonable range of dates. That way the user
can PICK a guaranteed-Sunday date, rather than being allowed to type any date
and getting their hand slapped if they mistype.