I have two unbound text box controls on a form; txtStartDate and txtEndDate.
I would like the user to only enter a value for txtEndDate. How would I get the date for the first day of the month (based on the date in txtEndDate) and populate it in txtStartDate?
I believe the below gets me the first day of the current month. I'm not sure how to make this work for the value of another text box though...
I would like the user to only enter a value for txtEndDate. How would I get the date for the first day of the month (based on the date in txtEndDate) and populate it in txtStartDate?
I believe the below gets me the first day of the current month. I'm not sure how to make this work for the value of another text box though...
=Dateserial(year(date()), month(date()),1) |