Hi , I need help to loop through all Non Blank textboxs on a form and set the properties to not editable ,meaning if it blankskip over and the textbox has a value then lock the record for editing..many thanks in advance for any light shed on how to do this
Something like the below
Code:Dim Propty As Properties For Each Propty In Me.Properties If Propty.Item = acTextBox Then If Propty.Value <> True Then Propty.Value = True Propty.enabled = False End If End If Next Propty