How are the data being viewed/edited? If you're allowing users to edit data
directly in the table, then there's little you can do.
If your users are editing data via a form, then you can do lots of things.
You can set the form's AllowEdits property to No; this prevents the changing
of any data, but it also prevents the addition of new data. You can write
code in the form's BeforeUpdate event to test for whether data changed and
reject it; but this also will prevent the addition of new data.
And so on...
So, before anyone can give you some specific suggestions, you'll need to
tell us more about the circumstances and setup.

Signature
Ken Snell
<MS ACCESS MVP>
> Hello to all,
>
[quoted text clipped - 21 lines]
> Dough, John
> Duncan, Tim
Alias - 20 Nov 2005 02:12 GMT
Hi Ken,
OK, the user is editing data via a form. I want to prevent changing the
EmployeeID data only. It's ok if other data in the record is changed, but
swapping data in the name field is causing major havok. I only need to
control what happens with the name field, in this case the "EmployeeID" field.
Thanks Ken,
-A
> How are the data being viewed/edited? If you're allowing users to edit data
> directly in the table, then there's little you can do.
[quoted text clipped - 35 lines]
> > Dough, John
> > Duncan, Tim
Ken Snell [MVP] - 20 Nov 2005 02:47 GMT
Is this form also used to add new records to the database? Or is it just
used for editing existing data?
Either way, you could use the form's Current event to lock the control bound
to EmployeeID field when the record is not a new record:
Private Sub Form_Current()
Me.NameOfEmployeeIDControl.Enabled = Not Me.NewRecord
End Sub

Signature
Ken Snell
<MS ACCESS MVP>
> Hi Ken,
>
[quoted text clipped - 54 lines]
>> > Dough, John
>> > Duncan, Tim
Alias - 20 Nov 2005 04:54 GMT
Ken,
Yes, the form is also used to add new records. Now that I added your line of
code and tweaked to read like this:
Me.cboFullName.Enabled = Me.NewRecord
it works absolutely flawlessly. That one line of code deactivates the combo
until the file pointer is on a new record. It's actually better than what I
expected to achieve.
Ken, your a freakin genius. Absolutely brilliant piece of code. You rule
dude ;-)
-Alias
> Is this form also used to add new records to the database? Or is it just
> used for editing existing data?
[quoted text clipped - 64 lines]
> >> > Dough, John
> >> > Duncan, Tim
Ken Snell [MVP] - 20 Nov 2005 05:19 GMT
> Ken,
>
[quoted text clipped - 3 lines]
>
> Me.cboFullName.Enabled = Me.NewRecord
Oops... you're right... I was thinking backwards ...
> it works absolutely flawlessly. That one line of code deactivates the
> combo
> until the file pointer is on a new record. It's actually better than what
> I
> expected to achieve.
Sometimes the "hard" things are actually very easy to do!
> Ken, your a freakin genius. Absolutely brilliant piece of code. You rule
> dude ;-)
Glad it's working for you. Good luck!

Signature
Ken Snell
<MS ACCESS MVP>