Hi,
If you are relating to a display file, then just type DSPATR(ND) just below the text description of that field.
Condition this field with an indicator like for eg :- if *99 is on then Display the field else hide it. Populate this field with your Physical file field. Change the values of the indicator in your program according to your requirement.
Thanks
Siddharth
///////////////////////////////////////////////////
One approach is to hide the fields through a logical file
- Physical file is created with all fields
- Logical file is created over the physical listing only the fields you want to provide access to.
- Physical file may be resricted by security.
Phil
Last Wiki Answer Submitted: April 24, 2009 2:49 pm by Sangay635 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
The non-display attribute is for display files and printer files only. You can code it in a database file (physical or logical) but it will be ignored.
I want nondisplay fileld in Physical file only. Using indicators can i make these filed values as hidden?
Hi,
The non-display attribute is for display files and printer files only. You can code it in a database file (physical or logical) but it will be ignored.
Regards,
Martin Gilbert.