penfold1992
Registered User.
- Local time
- Today, 14:11
- Joined
- Nov 22, 2012
- Messages
- 169
i have a dropdown menu which has this code set into "After Update"
this works fine for the most part, It shows me what i selected in iOperatorsCode and gives me the 2nd column of the table which is the Operators Name.
however I am trying to correct it slightly...
If I remove the operator number and try to just leave it blank, the iOperatorsName doesnt change. I have tried to include this...
however this also doesnt pick up when something has been removed in the field. Is there any work around?
Code:
Me.iOperatorsName = Me.iOperatorsCode.Column(1)
this works fine for the most part, It shows me what i selected in iOperatorsCode and gives me the 2nd column of the table which is the Operators Name.
however I am trying to correct it slightly...
If I remove the operator number and try to just leave it blank, the iOperatorsName doesnt change. I have tried to include this...
Code:
If Me.iOperatorsCode = "" Then
Me.iOperatorsName = ""
End If
Me.iOperatorsName = Me.iOperatorsCode.Column(1)
however this also doesnt pick up when something has been removed in the field. Is there any work around?