Hi, I have a Date of Session field with a calendar attached, when I click the date in the calendar I want the field below it (Day of Week) to populate with the day of the week.
This used to work but over the past months after various edits to the form, it has stopped working and only shows the Day of Week after you click the submit button (to submit the payment info to the table).
Can anyone help me out? I have attached the DB and the problem is in the form "frmPayments"
I have the following code in the form...
Thanks
Will
This used to work but over the past months after various edits to the form, it has stopped working and only shows the Day of Week after you click the submit button (to submit the payment info to the table).
Can anyone help me out? I have attached the DB and the problem is in the form "frmPayments"
I have the following code in the form...
Private Sub DtmSessionDate_Change()
Me.DayofWeek = Format(Me.DtmSessionDate.Value, "dddd")
End Sub
Private Sub DtmSessionDate_Click()
Me.DayofWeek = Format(Me.DtmSessionDate.Value, "dddd")
End Sub
Thanks
Will