Page 1 of 1

TOraTable Type mismatch for field exp:String act:WideString

Posted: Wed 12 Jan 2011 09:48
by sshamiluulu
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.

Posted: Wed 12 Jan 2011 10:11
by 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.

Posted: Wed 12 Jan 2011 10:42
by sshamiluulu
[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.

Posted: Wed 12 Jan 2011 11:43
by AlexP
hello,

I have answered you by e-mail.