TOraTable Type mismatch for field exp:String act:WideString

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sshamiluulu
Posts: 5
Joined: Wed 01 Dec 2010 13:42

TOraTable Type mismatch for field exp:String act:WideString

Post by sshamiluulu » Wed 12 Jan 2011 09:48

Hello,
I am face a problem with TOraTable component on Oracle 10g database configured as unicode database. On TOraTable component I am getting an error like: Type mismatch for field expecting:String actual:WideString.
My configuration like For TOraSession I use option of Charset as UTF8 and and allow UseUnicode as true.In oracle database I have table called OGOR and there I have fields as surname and name type of Varchar2.
Please could you help me with this problem.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Wed 12 Jan 2011 10:11

Hello,

Please check the types of your fields in Fields Editor, the types of fields should be TWideStringField. If the type of your fields is TStringField, please recreate these fields.

sshamiluulu
Posts: 5
Joined: Wed 01 Dec 2010 13:42

Post by sshamiluulu » Wed 12 Jan 2011 10:42

[quote="AlexP"]Hello,

Please check the types of your fields in Fields Editor, the types of fields should be TWideStringField. If the type of your fields is TStringField, please recreate these fields.[/quote]

Hello Alex,
I opened particular fields(e.i., NAME, SURNAME) in FieldsEditor. First of all I could not find anything like Field Type anyway to change the type the only this is FieldKind that is fkData.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Wed 12 Jan 2011 11:43

hello,

I have answered you by e-mail.

Post Reply