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.
Automatially Trim WideStrings
-
- Posts: 22
- Joined: Thu 10 Sep 2009 16:18
- Location: United States
-
- Posts: 22
- Joined: Thu 10 Sep 2009 16:18
- Location: United States
Yes, it has trailing blanks. Not sure how but it does.
But, the question is why is the data trimmed using uniDAC SQL SERVER provider and same data in MSAccess database with uniDAC ACCESS provider not trimmed?
Shouldn't it be trimmed across all providers? Is there a provider option(s) I'm missing?
Thanks.
But, the question is why is the data trimmed using uniDAC SQL SERVER provider and same data in MSAccess database with uniDAC ACCESS provider not trimmed?
Shouldn't it be trimmed across all providers? Is there a provider option(s) I'm missing?
Thanks.