Jump to content
Sign in to follow this  
Jeff Steinkamp

FireDac variable column length overflow

Recommended Posts

image.png.1a5c2f26e88e214c1044d6855ed2aa6e.png

 I am getting this error anytime the county field length seems to exceed 20.   In the table structure, that field is defined as a VARCHAR(32).  So, what is truncating this field to a maximum length of 20, and how do I fix this.  I can set StrsTrim2Len and that will eliminate the error and truncate the data in the field to 20 characters, but that is not the behavior I want.

 

The database is SQLite.

Share this post


Link to post

What value are you trying to assign? My bet is on non-latin chars which being encoded to UTF8 increase total byte length

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×