S sanal Registered User. Local time Today, 12:05 Joined Mar 10, 2018 Messages 11 Aug 12, 2019 #1 Is there any way to enable the cells in only one column and to disable all other cells in a continous form , by a command button.
Is there any way to enable the cells in only one column and to disable all other cells in a continous form , by a command button.
theDBguy I’m here to help Staff member Local time Yesterday, 22:35 Joined Oct 29, 2018 Messages 22,771 Aug 12, 2019 #2 Hi. You might try something like: Code: Me.ColumnName.Enabled = False
arnelgp ..forever waiting... waiting for jellybean! Local time Today, 14:35 Joined May 7, 2009 Messages 20,708 Aug 12, 2019 #3 select all the textbox/combos and set it's Enable property to No. select the texbox you want to Enable. on it's GotFocus() and LostFocus() Event: Code: Private Sub textboxName_GotFocus() Me.textboxName.Enabled = True End Sub Private Sub textboxName_LostFocus() Me.textboxName.Enabled = False End Sub
select all the textbox/combos and set it's Enable property to No. select the texbox you want to Enable. on it's GotFocus() and LostFocus() Event: Code: Private Sub textboxName_GotFocus() Me.textboxName.Enabled = True End Sub Private Sub textboxName_LostFocus() Me.textboxName.Enabled = False End Sub