Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 493
  • Last Modified:

Data Truncated

I am using a prog. built with powerbuilder and I keep getting an [ODBC][DATA TRUNCATED] error. Is there a way to get around this ?
1 Solution
That happened because the application have a datawindow with a text field with a dimension less of the same in the database.
When the field in the database store a value with a number of character greater of that in the datawindow, the application get the error "data truncated".
If you can't modify the application the only solution is find the field that generate the error and truncate the text of all row at the greatest dimension of the field in the datawindow
StratocasterAuthor Commented:
Thanks for the prompt response. I actually didn't build this program but our ISD dept is sometimes less than willing to help. Thanks Again Danipro.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now