Learn how to a build a cloud-first strategyRegister Now


item '12345678' does not pass validation test

Posted on 2008-11-18
Medium Priority
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

Accepted Solution

ced888 earned 1500 total points
ID: 23001113

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

ID: 23007522
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"

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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.
Suggested Courses

810 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