Here is the file
I would like the event title and the start time to show in the calendar.
Thanks for your help!!!!!
I would like the event title and the start time to show in the calendar.
Thanks for your help!!!!!
Private Sub txtDayBlock04_DblClick(Cancel As Integer) DoCmd.OpenForm "Training Events Details", acNormal, , , acFormAdd, acDialog, CDate(Me![txtDayBlock04].Tag) End Sub
Private Sub Form_Current() If Me.NewRecord Then Me![<Date Field Name>] = Me.OpenArgs End If End Sub
If IsNull(Me![Title]) Then If MsgBox("'Title' must contain a value." & Chr(13) & Chr(10) & _ "Press 'OK' to return and enter a value." & Chr(13) & Chr(10) & _ "Press 'Cancel' to abort the record.", _ vbOKCancel, "A Required field is Null") = vbCancel Then DoCmd.Close ' For Access 2.0 remove the previous line and replace with: ' DoCmd Close Else Me![Title].SetFocus End If Else DoCmd.Close End If
Comment