item '12345678' does not pass validation test

Posted on 2008-11-18
Last Modified: 2013-12-26
I changed a text column limit on a datawindow from 7 to 8 (I changed SQL server Db column length as well), then run this application, enter a text with length of 8 and got an error:
Item 12345678 does not pass validation test. I do not find any validation rule with this column and do not find any validation rule from Database painter either.
Question by:sijinlei
    LVL 3

    Accepted Solution


    Your Column Specification is still in the old char(7) thus the error occurs. When you change the DB column length, changing the text column limit is not enough.

    Try looking at the column specifications and you can see the type still indicates char(7). You can change this by either editing the source of the datawindow or you can go to SQL of the datawindow and select then unselect the column whose length has changed. This will force the datawindow to get the new column sepcification of the column.

    Author Comment

    Thank you very much for the information!
    The problem is that I do not know where is the "SQL of the datawindow" or how to edit the "source of the datawindow"

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
    Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
    The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now