I actually have two questions:
1. How would I program/format a combo box to be null/blank until the user actually chooses an entry. Right now the box automatically choices it's default answer, but I would like default to be blank.
My second issue:
I have a combo box with simple "Yes" or No" choices. I need the combo box to automatically display "No" if an employee has been working for less than a year.
Here is what I thought would generate the auto "No"
however it does not
Can someone please tell me where I'm going wrong.
Thanks in advance
1. How would I program/format a combo box to be null/blank until the user actually chooses an entry. Right now the box automatically choices it's default answer, but I would like default to be blank.
My second issue:
I have a combo box with simple "Yes" or No" choices. I need the combo box to automatically display "No" if an employee has been working for less than a year.
Here is what I thought would generate the auto "No"
however it does not
Code:
Private Sub cmbFML_BeforeUpdate(Cancel As Integer)
If DateDiff(d, ServiceDt, Now) < 365 Then
Me.cmbFML = "No"
Else
Me.cmbFML IsNull
End If
End Sub
Can someone please tell me where I'm going wrong.
Thanks in advance