Kitman
10-28-2007, 01:04 PM
Hi,
I'm very new to Access (Self taught trial and error method!) and would appreciate any help with a problem I'm stuck on. I'm using Access 2000 and have a simple database with approx 30 fields.
I've got a command button that when clicked starts a macro (setvalue) What I'm trying to achive is that when the button is clicked it locks one of my fields (I may want to lock all the fields but hey one step at a time!) so that it cant be editted or in other words, makes that field in that record 'read only' I'm guessing that I'm messing up with the expression builder. I've tried looking up the definitions of the various operator buttons as I think (but don't know) this is where I may be going wrong. In expression builder I select the form I'm using then the field that I want to attach the value (locked) but it doesnt work.
Any ideas please :)
I'm very new to Access (Self taught trial and error method!) and would appreciate any help with a problem I'm stuck on. I'm using Access 2000 and have a simple database with approx 30 fields.
I've got a command button that when clicked starts a macro (setvalue) What I'm trying to achive is that when the button is clicked it locks one of my fields (I may want to lock all the fields but hey one step at a time!) so that it cant be editted or in other words, makes that field in that record 'read only' I'm guessing that I'm messing up with the expression builder. I've tried looking up the definitions of the various operator buttons as I think (but don't know) this is where I may be going wrong. In expression builder I select the form I'm using then the field that I want to attach the value (locked) but it doesnt work.
Any ideas please :)