item '12345678' does not pass validation test

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.
sijinleiAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ced888Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sijinleiAuthor Commented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.