I have an app developed in A2003 that sometimes runs in a A2007 or A2010 runtime environment. In those cases, I want to disable the builtin date picker.
I tried this:
Code:
Private Sub Form_Open(Cancel As Integer)
If SysCmd(acSysCmdAccessVer) >= 12 Then Me.tbLedDate.Properties.ShowDatePicker = "Never"
End Sub
in the OnOpen event of the form that contains the control (tbLedDate) where I'm wanting to disable the picker. A2010 did not like the "ShowDatePicker" as a valid property.
How can I disable the picker from showing?