/ Published in: Visual Basic
Concise version
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
' Text field Me.RaceOther.Enabled = IIf(Me.Race = "Other", -1, 0) ' Text field with multiple criteria ' Because of the OR statement, it will always ' evaluate to True or False, so the IIf ... stuff isn't needed. Me.txtColor.Enabled = (Me.cboColor = "Green" Or Me.cboColor = "Blue")