bluedollar
Programmer
I have a text box that is locked, I want the user to be able to double click on the text box to be able to unlock the text box and change the value.
The code thatI am using for this is:
Private Sub price_DblClick(Cancel As Integer)
Me![Price].Enabled = True
Me![Price].Locked = False
End Sub
I have also treid using a command button to acheive this, however when the user double clicks on the text box or command button, the text box remains locked.
Any help would be greatly appreciated.
Thanks
Dan
The code thatI am using for this is:
Private Sub price_DblClick(Cancel As Integer)
Me![Price].Enabled = True
Me![Price].Locked = False
End Sub
I have also treid using a command button to acheive this, however when the user double clicks on the text box or command button, the text box remains locked.
Any help would be greatly appreciated.
Thanks
Dan