Visual Basic client-side cursors
When you use Visual Basic client-side cursors to perform rowset update related operations with using CHAR or LVARCHAR columns that have lengths greater than or equal to 16,385, the HCL OneDB™ ODBC Driver might return an error.
Visual Basic sends the SQL data type to SQLBindParameter as SQL_LONGVARCHAR
instead of SQL_VARCHAR when the length is greater than or equal to
16,385. HCL OneDB ODBC
Driver maps
SQL_LONGVARCHAR to TEXT data type. Therefore, applications might see
the error:
[Informix][Informix ODBC Driver]No cast from text to lvarchar
or
[Informix][Informix ODBC Driver]Illegal attempt to use Text/Byte host variable.