M
microsoft
Hi
I have created a form using the Calendar control. Each time I try to select
a date in the Calendar I get this message 3326 "This Recordset is not
updatable".
There is a combox box on the form which brings up the calendar from which
the user selects the date.
My Code
Private Sub Entry_Date_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
ocxCalendar.Visible = True
ocxCalendar.SetFocus
If Not IsNull(Entry_Date) Then
ocxCalendar.Value = Entry_Date.Value
Else
ocxCalendar.Value = Date
End If
End Sub
Private Sub ocxCalendar_Click()
Entry_Date.Value = ocxCalendar.Value
Entry_Date.SetFocus
End Sub
Any idea why I woud receive this error?
Thanks
I have created a form using the Calendar control. Each time I try to select
a date in the Calendar I get this message 3326 "This Recordset is not
updatable".
There is a combox box on the form which brings up the calendar from which
the user selects the date.
My Code
Private Sub Entry_Date_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
ocxCalendar.Visible = True
ocxCalendar.SetFocus
If Not IsNull(Entry_Date) Then
ocxCalendar.Value = Entry_Date.Value
Else
ocxCalendar.Value = Date
End If
End Sub
Private Sub ocxCalendar_Click()
Entry_Date.Value = ocxCalendar.Value
Entry_Date.SetFocus
End Sub
Any idea why I woud receive this error?
Thanks