TD4.2 Unexpected String Truncation With Table Columns

Report bugs and possible workarounds for ANSI TD versions
Christof Helm

TD4.2 Unexpected String Truncation With Table Columns

Post by Christof Helm » 15 Jan 2008, 13:28

When assigning a string variable to a table window column of type string and the max. Data Length attribute of the column is shorter than the value of the source string variable, the source string variable will be truncated to the length of the table window column.
Even it could be a programmers mistake not to adjust the column length correctly, the source variable should remain untouched after the assignment!

This happens in TD4.2, the same in TD2.1 works correctly.

Can someone confirm this as a bug?

(The attached file demonstrates this behaviour and is a TD21 text mode file.)

Thanks in advance
Christof
You do not have the required permissions to view the files attached to this post.

wilhelm
Germany
Posts: 283
Joined: 22 Mar 2017, 08:49
Location: Cologne

Re: TD4.2 Unexpected String Truncation With Table Columns

Post by wilhelm » 23 Jan 2008, 13:27

Strange, this also happenes in TD2005 / 4.1

Return to “Bug Reports (TD 4.2 and older)”

Who is online

Users browsing this forum: [Ccbot] and 0 guests