@CJ_London, sorry to bother you again, but the boss has another request.
Is there a way to get the data made by the form to be saved, then I can bring the data up in a report?
There seems to be a loophole to where anyone can put a date in the form, and of course the schedule will display on the form, but the next week someone else can do the same, then the schedule will be off.
Alright made the query. Where do I put it in your code?
Code:
Private Sub SelDate_AfterUpdate()
Dim StartOfWeek As Date
Dim i As Integer
StartOfWeek = DateAdd("d", -Weekday(SelDate) + 2, SelDate)
For i = 1 To 6
SFTblSchedule.Form.Controls("lbl" & i).Caption = StartOfWeek + (7 * (i - 1))
Next i
End Sub