PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09/23/2016 5:39 PM by  pgallucci12
Fld Err: Decimal Field's Display Length 0
 6 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Maynard F.
Technical Consultant
Friendly IT Consulting
Basic Member
(22 points)
Basic Member
Posts:10


Send Message:

--
09/22/2016 11:13 AM

    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.

    Tags: .scr.err
    Karen Sheridan
    Private
    Private
    Veteran Member
    (325 points)
    Veteran Member
    Posts:123


    Send Message:

    --
    09/22/2016 12:28 PM
    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.
    Technical Consultant
    Friendly IT Consulting
    Basic Member
    (22 points)
    Basic Member
    Posts:10


    Send Message:

    --
    09/22/2016 1:52 PM

    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
    Private
    Private
    Veteran Member
    (3469 points)
    Veteran Member
    Posts:701


    Send Message:

    --
    09/23/2016 4:26 PM
    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.
    Technical Consultant
    Friendly IT Consulting
    Basic Member
    (22 points)
    Basic Member
    Posts:10


    Send Message:

    --
    09/23/2016 4:42 PM

    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
    Private
    Private
    Veteran Member
    (3469 points)
    Veteran Member
    Posts:701


    Send Message:

    --
    09/23/2016 4:46 PM
    Isn't that the worst? I'm glad you got it resolved.
    Kelly
    Kelly Meade
    J. R. Simplot Company
    Boise, ID
    pgallucci12
    Sr Application Analyst
    UPHS
    Basic Member
    (10 points)
    Basic Member
    Posts:4


    Send Message:

    --
    09/23/2016 5:39 PM
    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.