I have a form where a date is entered every Monday. This form is used during the day all week long. Is there a way to have the form keep the "Monday" date until the next Monday.
You can set the default value of a text box as follows:
Me.txtDateInput.DefaultValue = Date()
You could run that snippet of code with a command button which your users could be instructed to click each monday.
You could get trickier by examining the date each time the form is opened and if it's Monday then set the default value. Look at help for WeekDay() "The Key, The Whole Key, and Nothing But The Key, So Help Me Codd!"
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.