Try:
If Me.Branch_Code.Text = "SFCO" Or Me.Branch_Code.Text = "SFPA" Then
Me.RR_Rerun_Received.Enabled = False
Me.CR_Rerun_Received.Enabled = False
Else
Me.RR_Rerun_Received.Enabled = True
Me.CR_Rerun_Received.Enabled = True
End If
Julia
> Hello,
> I need to disable two of my text boxes based on the value of another.
[quoted text clipped - 10 lines]
> Great thanks.
> Sherry N.
Douglas J. Steele - 22 May 2008 16:17 GMT
Or, a little shorter,
Me.RR_Rerun_Received.Enabled = _
(Me.Branch_Code.Text <> "SFCO" And Me.Branch_Code.Text <> "SFPA")
Me.CR_Rerun_Received.Enabled = _
(Me.Branch_Code.Text <> "SFCO" And Me.Branch_Code.Text <> "SFPA")

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> Try:
>
[quoted text clipped - 24 lines]
>> Great thanks.
>> Sherry N.
Sherry N. - 23 May 2008 11:31 GMT
Thanks but I am getting an error Method or data member not found for the
.Text? I am using this in the After Update property for the Branch Code Text
box. Could that be the problem?

Signature
Sherry N.
> Try:
>
[quoted text clipped - 22 lines]
> > Great thanks.
> > Sherry N.
Jan Baird is out of the country until September 20. Every effort will be
made to respond to messages, but please be patient.