TMyLoader and BLOB data

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jmuehlenhoff
Posts: 36
Joined: Fri 30 Apr 2010 11:25

TMyLoader and BLOB data

Post by jmuehlenhoff » Fri 30 Apr 2010 11:43

Hi,

I'm trying to use the OnPutData event to manually put data to the MySQL server (I can't use LoadFromDataSet for several reasons).

How can I put BLOB Data to the TMyLoader?

The PutColumnData method takes a Variant, but it's not specified what type to set this Variant to.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 30 Apr 2010 13:03

You can assign blob data as string or as (varArray + varByte) variant type.

Post Reply