I have the following code:<br>Private Sub strActive_AfterUpdate()<br>Dim ctl As Control<br><br>For Each ctl In Forms!frmCustomers<br> If TypeOf ctl Is TextBox Or TypeOf ctl Is ComboBox And strActive = 0 Then<br> With ctl<br> .Enabled = False<br> End With<br> End If<br> If TypeOf ctl Is TextBox Or TypeOf ctl Is ComboBox And strActive = -1 Then<br> With ctl<br> .Enabled = True<br> End With<br> End If<br>Next<br>End Sub<br><br>This function only disables the comboboxes and not the textboxes. How can I make it do both??<br><br>Thanks for the Help!