Problem with ParamByName().AsMemo

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Romano
Posts: 41
Joined: Tue 10 Feb 2009 11:21

Problem with ParamByName().AsMemo

Post by Romano » Fri 07 Aug 2009 08:03

Hi,
I have Delphi 2009 and last version of SDAC components.
I use ParamByName('...').AsMemo and I found out that AsMemo works Ansi only, not UNICODE (I have ??? on position of UNICODE chars in database).
I cannot find something like AsWideMemo or AsUnicodeMemo...

Thanks
Roman Krupcika

Dimon
Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 07 Aug 2009 08:53

To solve the problem try to use the AsWideString property.

Romano
Posts: 41
Joined: Tue 10 Feb 2009 11:21

Post by Romano » Mon 10 Aug 2009 07:33

Hi,
AsWideString functions - even with text > 4000 chars.

Thanks.

Dimon
Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 10 Aug 2009 11:46

If any other questions come up, please contact me.

Post Reply