H
hermie
I have downloaded the Access Calendar module from fontstuff.com
Now I have done all but get an error on the Date in the else statement which
says: Compile error: expected variable or procedure, not module!
What is wrong? I do exactly as described in the example and how to resolve
Private Sub cboStartDate_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
ocxCalendar.Visible = True
ocxCalendar.SetFocus
If Not IsNull(cboStartdate) Then
ocxCalendar.Value = cboStartdate.Value
Else
ocxCalendar.value = Date
End If
End Sub
Now I have done all but get an error on the Date in the else statement which
says: Compile error: expected variable or procedure, not module!
What is wrong? I do exactly as described in the example and how to resolve
Private Sub cboStartDate_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
ocxCalendar.Visible = True
ocxCalendar.SetFocus
If Not IsNull(cboStartdate) Then
ocxCalendar.Value = cboStartdate.Value
Else
ocxCalendar.value = Date
End If
End Sub