Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Memo Field and Blob error
Thu, Sep 15 2011 12:23 PMPermanent Link

MBodor

Hi,

I'm evalutating DBIsam, and I face a very annoying error:

• Operating system being used
Windows7

• Development environment being used
Delphi 2009

• Product and version being used
430b7dbisamvcltrialr2009.exe

• If you are experiencing an error, the complete error message
DBISAM Engine Error #10030 Invalid BLOB handle for the table 'Blob_Test' specified

• If at all possible a sample project that can replicate the problem (most desirable)

Yes here is my code

procedure TForm1.Button1Click(Sender: TObject);
var ts : TStringList;
begin
ts:=TStringList.Create;
ts.LoadFromFile('x.txt');
with DBISAMTable1 do begin
 Open;
 Append;
 FieldByName('Blob_Field').Assign(ts);
 Post;
 close;
end;
ts.Free;
end;

• If sending us database tables, please make sure that you also include a password to open the tables if they are encrypted
No password used

• If sending us any files, please try to send them as a single compressed file, such as a .zip file
Yes here as attachment



Attachments: Blob_Test.zip
Fri, Sep 16 2011 3:46 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

MBodor


One possibility is the fact that D2009 is Unicode and DBISAM isn't. I tried out your demo project here in D6 (I only have D6 & D2006 and DBISAM is only installed on D6) and it works fine.

Roy Lambert [Team Elevate]
Image