Nightowl4933
Tryin' to do it right...
- Local time
- Today, 12:07
- Joined
- Apr 27, 2016
- Messages
- 151
I'm using a form to allow users to enter new records and view existing ones.
The existing forms occasionally need to be edited, but I'd rather use an Edit command button to enable the fields and therefore allow changes to be made, rather than leave them editable 'by accident'.
Initially, I set all the fields to 'locked' and then an 'On Click' expression to unlock them all. I was then going to use a command button the 'Save' the changes, but really only locking them again.
I using the On Click event procedure as follows:
With Me.
.Location.Enabled = True
.Address.Enabled = True
etc...
End With
...but it didn't work :-(
Any ideas, please?
Thanks
The existing forms occasionally need to be edited, but I'd rather use an Edit command button to enable the fields and therefore allow changes to be made, rather than leave them editable 'by accident'.
Initially, I set all the fields to 'locked' and then an 'On Click' expression to unlock them all. I was then going to use a command button the 'Save' the changes, but really only locking them again.
I using the On Click event procedure as follows:
With Me.
.Location.Enabled = True
.Address.Enabled = True
etc...
End With
...but it didn't work :-(
Any ideas, please?
Thanks