Q: Blob Fields in Delphi2 Can't create a DB

Hi,

  I'm new to database programming in D2 and am having problems
with blob fields. I'm attempting to create a new database with
2 integer fields and a blob field (ftBlob). However on the
append line it gives the error "Blob field is not of the
expected type" and aborts.

  The code is as follows:-

        ..
        table1.createTable;
        ..
        ..
        Table1.Active:= True;
        Table1.Append;                          <--- ERROR
        Table1['Field1'] := 1;
        Table1['Field2'] := 2;
        Table1Blob.LoadFromFile('unit1.~pa');
        Table1.Post;
        Table1.Active:= False;

Any help would be appreciated.

Andy.