i have a table with blob field..this field is for picture.
i have try to SQLdb and TDBImage component but it doesn't work.
my step is:
1. add SQLConnector. I set Connected to true and no error
2. add SQLQuery1. I set SQL with 'select * from product order by code'. and active property to true. no error
3. i double click in SQLQuery. I do Add Fields in 'Edit Fields - SQLQuery1'..i add 'picture' field as TBlobField.
the problem is:
i choose that tblobfield
and i saw strange Blobtype property (under Alignment in Object Inspector)..
that property's combobox shows: three empty space,??,??,{,Dataset,ef4V?,ftFixedWideChar,ftFMTBcd,ftGuid,ftIDispacth,ftInterface,ftOraBlob,ftOraClob,ftTimeStamp,ftvariant,ftWideMemo,TdatasetNotifyEvent.
CMIIW, it should be 'TBlobType = ftBlob..ftWideMemo;' (i saw in db.pas line 791)
is there a bug in FPC or LCL?
i tried to set SQLQuery1picture.BlobType:=ftGraphic; in form create procedure but it's doesn't show picture in tdbimage..
NB:I have same condition with Zeos
please help me..
thanks..
My Lazarus Version:Lazarus 0.9.29 r21262:21406M FPC 2.3.1 i386-win32-win32/win64