Hi all
I have a button that when clicked i want it to put YES or no in a combo box that then unhides other fields, I have managed to get it to work manually when selecting the yes or no dropdown but doesn't seem to work when I get VBA to select it via a button seems like although its showing the selection its not recognizing it any suggestions
Do I need to do an enter / refresh code in vba?
I have a button that when clicked i want it to put YES or no in a combo box that then unhides other fields, I have managed to get it to work manually when selecting the yes or no dropdown but doesn't seem to work when I get VBA to select it via a button seems like although its showing the selection its not recognizing it any suggestions
Code:
If [Forms]![FRM_TBLALL_FullCarDetails]![CarFuelType] = 3 Then
[Forms]![FRM_TBLALL_FullCarDetails]![CarFuelType].[Form]![Electric] = "YES"
FUNC_ElectricCar
End If
End Function
Do I need to do an enter / refresh code in vba?