Problem with Memo - TEXT field
Posted: 09.08.2007, 14:39
Hello!
I use SQLITE DB table with TEXT type fields and in Delphi7 I use Zeos TZQuery.
I loaded the fields in the query, and the text fields are automatically typed as ftMemo. BUT I want to handle as String like ftWideString because the TcxDBMemo (DevExpress) component is not abble to control the 'enter as tab' function. (ad also the contained string's length < 255) I want to use TcxDBText instead of TcxDBMemo, but i get an error message like the data type is wrong. (Memo - String)
If I change the field type to ftWideString in the TZQuery, I get an error message when the query opened. "Type mismatch: expecting: WideString actual: Memo"
Is there any solution for my problem?
I use SQLITE DB table with TEXT type fields and in Delphi7 I use Zeos TZQuery.
I loaded the fields in the query, and the text fields are automatically typed as ftMemo. BUT I want to handle as String like ftWideString because the TcxDBMemo (DevExpress) component is not abble to control the 'enter as tab' function. (ad also the contained string's length < 255) I want to use TcxDBText instead of TcxDBMemo, but i get an error message like the data type is wrong. (Memo - String)
If I change the field type to ftWideString in the TZQuery, I get an error message when the query opened. "Type mismatch: expecting: WideString actual: Memo"
Is there any solution for my problem?