Question How to disabled text-box after save data.

Fztay

New member
Local time
Yesterday, 21:32
Joined
May 7, 2014
Messages
3
I have some field in my details section,It works like a grid view,if I search data by query then It shows all of the related data from database,then I edit or save data one by one,but the problem is I want to disable text box after edit/save data.But if I write code like--
If Me.Text103 > "" Then
Me.Text103.Enabled= False
Else
Me.Text103.Enabled= True
End If

It disable the all of the rows,but I want to disable only the specific field where I enter the data.
 
Code really doesn't work that way in continuous or datasheet view. Look at Conditional Formatting.
 
Else you can use the on enter event if it should be edit able or not..
 
No problem, and welcome to the site by the way!
 

Users who are viewing this thread

Back
Top Bottom