B bhelmy Registered User. Local time Today, 13:02 Joined Dec 6, 2015 Messages 62 Jan 12, 2016 #1 need to put code in Text box 2 ( text2 ) when text box 1 = Cash make it inactive Attachments inactive text box.mdb inactive text box.mdb 296 KB · Views: 71
arnelgp ..forever waiting... waiting for jellybean! Local time Today, 19:02 Joined May 7, 2009 Messages 20,740 Jan 12, 2016 #2 Private Sub Text1_BeforeUpdate(Cancel As Integer) Me.Text2.Enabled = (Me.Text1 & "" <> "cash") End Sub
Private Sub Text1_BeforeUpdate(Cancel As Integer) Me.Text2.Enabled = (Me.Text1 & "" <> "cash") End Sub
B bhelmy Registered User. Local time Today, 13:02 Joined Dec 6, 2015 Messages 62 Jan 12, 2016 #3 i wan use If condition
S sneuberg AWF VIP Local time Today, 04:02 Joined Oct 17, 2014 Messages 3,504 Jan 12, 2016 #4 bhelmy said: i wan use If condition Click to expand... Because you want to something different than arnelgp's code does or just because you don't like arnelgp's style? If you want to do something different then what?
bhelmy said: i wan use If condition Click to expand... Because you want to something different than arnelgp's code does or just because you don't like arnelgp's style? If you want to do something different then what?