Fld Err: Decimal Field's Display Length 0

Sort:
You are not authorized to post a reply.
Author
Messages
Maynard F.
Basic Member
Posts: 10
Basic Member

    I have a custom program with an error on the screen.  It points to line 94, but line 94 is just like the ones before and after it.

    ZBAHW.scr                           Menus On            Line:94         Col:1
       3    OPT-OUT-CODE-8        A     03          SB    HTM
       3    OPT-OUT-CODE-9        A     03          SB    HTM
       3    OPT-OUT-CODE-10       A     03          SB    HTM

    Th error message is:

    Line     94: Fld Err: Decimal Field's Display Length 0 < DecLength + 1 0

     

    Any ideas are appreciated.  Thank you.

    Karen Sheridan
    Veteran Member
    Posts: 141
    Veteran Member
      SCR definitions are column sensitive. From your screen shot, you need to have the line with dash 10 in line with the others (A under A, 03, under 03, etc).
      Maynard F.
      Basic Member
      Posts: 10
      Basic Member

        Thank you Karen.  My columns are aligned.  Please find a truer screen shot below:

           3    OPT-OUT-CODE-6        A     03          SB    HTM
           3    OPT-OUT-CODE-7        A     03          SB    HTM
           3    OPT-OUT-CODE-8        A     03          SB    HTM
           3    OPT-OUT-CODE-9        A     03          SB    HTM
           3    OPT-OUT-CODE-10      A     03          SB    HTM
        $END-TRANS ZBAHW    R

        Woozy
        Veteran Member
        Posts: 709
        Veteran Member
          Hi Maynard - will you please attach your entire .scr file as an attachment? That might help...
          Kelly Meade
          J. R. Simplot Company
          Boise, ID
          Maynard F.
          Basic Member
          Posts: 10
          Basic Member

            I re-entered the entire .scr member from scratch, and the issue went away.  There must have been some corruption in the original member.

            Thank you for asking.

            Woozy
            Veteran Member
            Posts: 709
            Veteran Member
              Isn't that the worst? I'm glad you got it resolved.
              Kelly
              Kelly Meade
              J. R. Simplot Company
              Boise, ID
              pgallucci12
              Basic Member
              Posts: 5
              Basic Member
                If you download the source code and edit it in text editor on your PC then upload it to the server (like I do) chances are you had a tab embedded in one or more of your "spaces". That's happened to me before.
                You are not authorized to post a reply.