Skip to Content
Former Member
Oct 27, 2007 at 10:09 AM

how to gray out a particular field in screen?


hi all,

please help me out in this. In online programming iam using two screens.

the first screen contains one field that is 'employee number' and it consists of two buttons such as 'display' and 'change'.The second screen consists of two fields that is 'empno' and 'empname' and two buttons that is 'back' and 'save'. when i enter the the empno in the first screen and when i click the dispaly button the second screen should be displayed and all the fields should be grayed out except back button. and in the first screen when i give the empno and change button is clicked the details of the employee should be retrieved in the second screen but only empno should be grayed out but not the empname because i want to change the empname there and when i click the save button there it should be updated in the table. please reply this as soon as possible.