UniDAC with Interbase and Unicode TMemoField

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
rhettp
Posts: 25
Joined: Tue 15 Aug 2006 01:25

UniDAC with Interbase and Unicode TMemoField

Post by rhettp » Fri 24 Dec 2010 22:50

Hi,

I have narrowed down an issue with Interbase and UniDAC with Unicode based Memo fields.

I'm having a problem saving to this type of field with any Unicode data - using Params. I think the problem is evident however with Unidac when creating TFields at Design Time. The Firebird 2.5 Unicode Blob Field is being created as a TMemoField and not a TWideMemoField. My thought is because UniDAC doesn't seem to support the EnableMemos feature that IBDac does. Does anyone know of a way around this?

Thanks,

Rhett

AndreyZ

Post by AndreyZ » Mon 27 Dec 2010 15:10

Please do not duplicate topics. We have answered you here: http://www.devart.com/forums/viewtopic.php?t=19851

rhettp
Posts: 25
Joined: Tue 15 Aug 2006 01:25

Post by rhettp » Mon 27 Dec 2010 16:00

Hi, sorry - wasn't trying to duplicate issues. I'm sure these 2 are related, but this was more a design time TField Creation issue. So will this same fix for the link also fix this at Design Time?

Thanks,

Rhett Price

AndreyZ

Post by AndreyZ » Mon 27 Dec 2010 16:31

You should set the UseUnicode specific option to True in the following way:

Code: Select all

UniConnection.SpecificOptions.Values['UseUnicode'] := 'True';
In this case UniDAC creates TWideMemoField fields for BLOB fields with subtype 1. Otherwise UniDAC creates TMemoField fields.

Post Reply