Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

enable field but make it not updateable

Status
Not open for further replies.

rainford

Programmer
Jan 21, 2002
12
CA
Is there any way of enabling a field but make it not updateable. I need to do this so that a sort can be done on the field
 
locked
is the property... it may change the colors for it, but you can change them back:)

--James
JHauge@jmjpc.net
Life is change. To deny change is to deny life.
 
If you set controlname.enabled = true and controlname.locked = true the user will be unable to change the value, but it will not display grayed. If you set controlname.enabled = false it will be displayed grayed. You might also want to set the tab stop property to no so the user doesn't end up there.

Have a great day!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top