force TStringField instead TWideStringField
Posted: Fri 17 Aug 2012 07:41
hello
I'm using Delphi XE2, last relese unidac 4.3.8
when I connect to a tables in a MS Access (access 2000 format) DB, when I add fields in fields editor all fields that are type TEXT are interpreted as TWideStringField.
I have the same DB on MSSQL and when I connect to the same table where the fields are varchar, the fields are interpreted as TStringField.
I tried to configure the dataTypeMap but I could not set it up to solve the problem .. or not this is the way.
i've tryed to set param "useUnicode" = FALSE in specificOptions in UniConnection .. but .. nothing
I understand that varchar does not support unicode for this reason is converted to TStringField that just does not support unicode.
This is why I was hoping to linking up with UseUnicode = FALSE in ACCESS options the fields would be converted into TStringField
the nice thing, If I connect to access database using D7 with unidac 4.2.7 fields are interpreted as TStringField and not as TWideStringField.
can you give some indication?
carlo narcisi
I'm using Delphi XE2, last relese unidac 4.3.8
when I connect to a tables in a MS Access (access 2000 format) DB, when I add fields in fields editor all fields that are type TEXT are interpreted as TWideStringField.
I have the same DB on MSSQL and when I connect to the same table where the fields are varchar, the fields are interpreted as TStringField.
I tried to configure the dataTypeMap but I could not set it up to solve the problem .. or not this is the way.
i've tryed to set param "useUnicode" = FALSE in specificOptions in UniConnection .. but .. nothing
I understand that varchar does not support unicode for this reason is converted to TStringField that just does not support unicode.
This is why I was hoping to linking up with UseUnicode = FALSE in ACCESS options the fields would be converted into TStringField
the nice thing, If I connect to access database using D7 with unidac 4.2.7 fields are interpreted as TStringField and not as TWideStringField.
can you give some indication?
carlo narcisi