trichview.com

trichview.support




TDBRichViewEdit and MS SQL 2000


Return to index


Author

Message

Christian Papaux

Posted: 04/16/2002 17:49:21


Hi,


I'm currently evaluating RichviewEdit in order to integrate it in our

products. TRichView and TRichViewEdit features are really astonishing and up

to the standards we have settled.


Testing TDBRichViewEdit, I am trying to link it with a SQL Server 2000

field.

When opening the form, an Exception EInvalidCast is generated ('Invalid

class typecast').

The problem come when the TDBRichviewEdit is linked to a 'BINARY' field

type. When linked to a 'TEXT' field it's working, but I would like to insert

pictures, controls and tables and it's not possible with this kind of field.


What am I doing wrong ?


The access to the database I use the following objects:


TDBRichViewEdit:  (rvfoSaveBinary = TRUE)

TDataSet

TQuery (on a TBytesField field)

TDatabase

Microsoft ODBC driver for MS SQL

MS SQL Server database



Best regards

Christian Papaux








Powered by ABC Amber Outlook Express Converter