Automatially Trim WideStrings
Posted: Tue 15 Sep 2009 14:46
All widestrings are full field length when read with .AsWideString from database using AccessProvider. A 100 char string field is read and not trimmed and remains 100 char in length no matter what the field contains when displayed in grid, field, label, etc...
Using the same application with the SQLServerProvider all widestings are trimmed automatically.
What am I missing?
Again,
Using the AccessProvider (strings are not trimmed).
Using the SQLServerProvider (strings are trimmed).
Thanks.
Using the same application with the SQLServerProvider all widestings are trimmed automatically.
What am I missing?
Again,
Using the AccessProvider (strings are not trimmed).
Using the SQLServerProvider (strings are trimmed).
Thanks.