Diman
Admin
 Admin
| Posts: 1509 |  | Karma: 20 |
|
RE: Problems when Query.Params[i].DataType=ftMemo
|
|
Posted: 2000/11/01 17:52 |
|
|
|
|
Hi, It is because Oracle allows to have in each moment only: 1) single LONG field in table/select list of query, 2) single parameters of LONG type. By default NCOCI8 translates VARCHAR2(4000) into ftMemo. So, you have second limitation ...
To solve it, set TOCIQuery.DataFormat.EnableLongString := True. And if you will do that for TOCIDatabase.DefaultDataFormat.EnableLongString, then NCOCI8 will translate by default VARCHAR2(4000) into ftString.
Good luck !
|
|