ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Avoid user entry

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Avoid user entry

    Hi,

    I have an requirement that i need to allow the user for the Function keys in a Display file field. but i should not allow people to key any data in the input field.

    How can i block it?
    Regards,
    Vinothkumar S.

  • #2
    Re: Avoid user entry

    Take a look at protecting the field when conditions require it.

    Comment


    • #3
      Re: Avoid user entry

      With ninjas?
      Michael Catalani
      IS Director, eCommerce & Web Development
      Acceptance Insurance Corporation
      www.AcceptanceInsurance.com
      www.ProvatoSys.com

      Comment


      • #4
        Re: Avoid user entry

        NO!!! Proctect Field with 12 T1000s around it in box formation and 1 next to the field .

        On a more serious note and being specific, add the following display attributes in the DDS to the field you want to protect

        Code:
        A              FLD001       10A     B    
        A  N35                                 DSPATR(PR)
        A   35                                 DSPATR(UL)
        Youre free to choose whichever indicator you want (depending upon availability) but for this example I've chosen 35. Also by default this field would be protected but if you wish to unprotect it for any reason just set indicator 35 to 1 or *on or whatever.
        Last edited by vikramx; June 16, 2009, 11:46 AM.

        Comment

        Working...
        X