Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

item '12345678' does not pass validation test

Posted on 2008-11-18
2
Medium Priority
?
3,839 Views
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.
0
Comment
Question by:sijinlei
2 Comments
 
LVL 3

Accepted Solution

by:
ced888 earned 1500 total points
ID: 23001113
Hi,

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.
0
 

Author Comment

by:sijinlei
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"
0

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