Hi All,
I have a form there 2 drop downs must populated before the save button is viable.
Both drop downs are text field.
When the fields are empty there is no problem but when the fields have been populated, i get a vb error "Type mismatch"
Code Tags Added by UG
Please use Code Tags when posting VBA Code
Please feel free to Remove this Comment
https://www.access-programmers.co.u...e-use-code-tags-when-posting-vba-code.240420/
I have a form there 2 drop downs must populated before the save button is viable.
Both drop downs are text field.
When the fields are empty there is no problem but when the fields have been populated, i get a vb error "Type mismatch"
Code Tags Added by UG
Please use Code Tags when posting VBA Code
Please feel free to Remove this Comment
https://www.access-programmers.co.u...e-use-code-tags-when-posting-vba-code.240420/
Code:
# If IsNull(Me.CSAeMail) Or (Me.CSMeMail) Then
Me.SaveBTN.Visible = False
Else
Me.SaveBTN.Visible = True
End If
End Sub#
Last edited by a moderator: