When trying to work with guids represented as strings I came across the following problem.
If a string field in a TVirtualDataset is defined as having a size of, say, 38, then when the string field displays a string of length 38 the last character is shown as an unprintable character.
To reproduce this open the virtual dataset demo. On line 156 the DeptDataSet field DName has a size of 14.
On line 130 change
DeptList.Add(TDept.Create(10, 'ACCOUNTING', 'NEW YORK'));
to
DeptList.Add(TDept.Create(10, 'ACCOUNTING1234', 'NEW YORK'));
so the length of the string to be displayed is now 14 characters.
Run the program. Expand the DName column and inspect the last character displayed.
Problem with Strings and TVirtualDataSet
Re: Problem with Strings and TVirtualDataSet
Thank you for the information. We have reproduced the issue and will investigate its origin. We will inform you about the results shortly.
-
- Posts: 32
- Joined: Wed 27 May 2020 06:22
Re: Problem with Strings and TVirtualDataSet
I have a similar problem see:
https://forums.devart.com/viewtopic.php?f=28&t=45241
I have just noticed that I have probably created under the wrong category. if you want you can move it.
https://forums.devart.com/viewtopic.php?f=28&t=45241
I have just noticed that I have probably created under the wrong category. if you want you can move it.
-
- Posts: 1
- Joined: Mon 17 May 2021 13:48
Re: Problem with Strings and TVirtualDataSet
Hello,
are there any news on this topic?
Our company faces exactly the same issue.
With kind regards
are there any news on this topic?
Our company faces exactly the same issue.
With kind regards
Re: Problem with Strings and TVirtualDataSet
On 14-Jul-21 we released a new version that includes the changes you need