Zero characters in string fields

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
duzenko
Senior Boarder
Senior Boarder
Posts: 53
Joined: 17.06.2009, 11:24

Zero characters in string fields

Post 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.
4dk2
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 10.02.2010, 13:37

Post by 4dk2 »

look at my post, i postet a solution, perhaps it can help you.
http://zeos.firmos.at/viewtopic.php?t=2 ... 445b9b7cae
duzenko
Senior Boarder
Senior Boarder
Posts: 53
Joined: 17.06.2009, 11:24

Post by duzenko »

4dk2, thanks, but I needed this for string fields
4dk2
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 10.02.2010, 13:37

Post by 4dk2 »

i dont think its possible for string fields, cause string fields are handled over WideAnsiChar, so terminated by zero char
duzenko
Senior Boarder
Senior Boarder
Posts: 53
Joined: 17.06.2009, 11:24

Post by duzenko »

Yeah, eventually I had to find another way to get what I wanted
Post Reply