G
Guest
Hello all,
In an Access 2003 db, I am writing an If statement on a combo box field on
After Update.
I want to disable certain fields depending upon what the user selects from
the combo box. Here is what I have done so far.
If Me.cboType = "Individual" Then
Me![Organization].Enabled = False
ElseIf Me.cboType = "Organization" Then
Me![Organization].Enabled = True
Else
Me![LastName].Enabled = True
Me![FirstName].Enabled = True
End If
End Sub
When Organization is selected, the appropariate field is enabled, the last
name is disabled, first name is enabled.
When Individual is selected, Organization and Last Name fields are both
disabled. First Name is enabled.
Can anyone help?
Thanks Connie
In an Access 2003 db, I am writing an If statement on a combo box field on
After Update.
I want to disable certain fields depending upon what the user selects from
the combo box. Here is what I have done so far.
If Me.cboType = "Individual" Then
Me![Organization].Enabled = False
ElseIf Me.cboType = "Organization" Then
Me![Organization].Enabled = True
Else
Me![LastName].Enabled = True
Me![FirstName].Enabled = True
End If
End Sub
When Organization is selected, the appropariate field is enabled, the last
name is disabled, first name is enabled.
When Individual is selected, Organization and Last Name fields are both
disabled. First Name is enabled.
Can anyone help?
Thanks Connie