char field corrupted
Posted: Thu 12 Feb 2009 10:13
following scenario:
delphi 2009, newest sdac.
fastmm4 with fulldebugmode activated.
one empty table with one char(60) field.
one simple form with tdbedit, tmsquery, tdatasource, tmsconnection and tdbnavigator
user writes an "a" to the edit field and presses "post" in the navigator.
sdac stores following to the char(60) field (converted to hex):
0x610032F67536808080808080202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020
those characters after "00" are making BIG trouble in non-sdac applications like ado.net.
please, could you make the char field clear?
note: without fulldebug, i get following in the char field
0x610020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020
it seems, you are storing data from memory areas, that don't belong to you.
thanks for your help, Ludek.
delphi 2009, newest sdac.
fastmm4 with fulldebugmode activated.
one empty table with one char(60) field.
one simple form with tdbedit, tmsquery, tdatasource, tmsconnection and tdbnavigator
user writes an "a" to the edit field and presses "post" in the navigator.
sdac stores following to the char(60) field (converted to hex):
0x610032F67536808080808080202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020
those characters after "00" are making BIG trouble in non-sdac applications like ado.net.
please, could you make the char field clear?
note: without fulldebug, i get following in the char field
0x610020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020
it seems, you are storing data from memory areas, that don't belong to you.
thanks for your help, Ludek.