After record is created, grey out field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In code, how can you field out a field after the record has been created so
the field cannot be edited anymore.

Thanks in advance,
John
 
On the form, you can do the entire form by setting the property:
..AllowEdits
In the code you would enter: Me.AllowEdits = False.

For a particular field, you would do Me.<fieldname>.Enabled = False

You can execute these pieces of code in the Form's AfterUpdate() event.

HTH

--
Rob

FMS Professional Solutions Group
http://www.fmsinc.com/consulting

Software Tools for .NET, SQL Server, Visual Basic & Access
http://www.fmsinc.com

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
Back
Top