Page 1 of 1

Zero characters in string fields

Posted: 28.01.2010, 12:00
by duzenko
How do I work with string fields that have #0 characters in them - like rdb$db_key? They seem to be truncated before the first #0 character when I try to select.

Posted: 11.02.2010, 15:10
by 4dk2
look at my post, i postet a solution, perhaps it can help you.
http://zeos.firmos.at/viewtopic.php?t=2 ... 445b9b7cae

Posted: 11.02.2010, 15:14
by duzenko
4dk2, thanks, but I needed this for string fields

Posted: 12.02.2010, 09:55
by 4dk2
i dont think its possible for string fields, cause string fields are handled over WideAnsiChar, so terminated by zero char

Posted: 24.02.2010, 15:13
by duzenko
Yeah, eventually I had to find another way to get what I wanted