Actually, mrdod is correct. If you programatically enter data into the control, it can still be changed by the user, regardless of the condition of the locked property."
I think this is may be a version/service pack issue.
In my current setup, ACC2003 with SP2, if the control is locked, it won't allow the user to do anything to the data, either before or after the control is populated programatically. I had the niggling idea in the back of my mind that when I used ACC2000 regularly, if you locked a control it couldn't be directly by the user UNLESS you filled the control programatically, after which it became "unlocked." Because of this memory, I checked this out prior my last post, using ACC2993/SP2, and as I indicated, no longer found this to be true. Unfortunately, I just this afternoon placed my PC with the ACC2000 version on board in "mothballs" and have no access to it. As I recall, with the 2000 version, not only did filling it programatically "unlock" the control, but you couldn't programatically "relock" it! You had to exit the form and reload it to return the controll to the locked state.
The Missinglinq
Richmond, Virginia
There's ALWAYS more than one way to skin a cat!