J
JamesJ
Using Access 2007.
I'm using the following to set a command button to disabled if the
Calendar control is set to Today and enabled when I select a date
other than today.
The button is disabled properly when I open the form but when I
select another date the button remains disabled.
Private Sub Form_Current()
If Me!ctlCal.Value = Date Then
Me.cmdToday.Enabled = False
Else
Me.cmdToday.Enabled = True
End If
End Sub
Also, in attempting to change colors the values for the color properties
of the different parts of the Calendar control use different value types
than
Access 2007 does for form objects, such as the Detail section and the
like.
How do I change colors in the Calendar control???
Any help will be appreciated
James
I'm using the following to set a command button to disabled if the
Calendar control is set to Today and enabled when I select a date
other than today.
The button is disabled properly when I open the form but when I
select another date the button remains disabled.
Private Sub Form_Current()
If Me!ctlCal.Value = Date Then
Me.cmdToday.Enabled = False
Else
Me.cmdToday.Enabled = True
End If
End Sub
Also, in attempting to change colors the values for the color properties
of the different parts of the Calendar control use different value types
than
Access 2007 does for form objects, such as the Detail section and the
like.
How do I change colors in the Calendar control???
Any help will be appreciated
James