Board index » delphi » BLOB-field bigger then 32K in a Sybase SQL Anywhere database
Dirk Vanderbist
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
BLOB-field bigger then 32K in a Sybase SQL Anywhere database
I'm building an application where I want to store bitmaps in a blob-field
of an Sybase database. I know blob-fields of more then 32K should be inserted by deviding them into 32K pieces. My problem is I don't know exactly how that can be done. I have tried using a blobstream but I keep getting a DBEgineError on the post of a record as in the case I was not using a blobstream. The DBEgineError is 'Invalid BLOB length'. I have included a bit of code that I think is crucial for the problem. The procedure TForm1.Button2Click(Sender: TObject); Does anyone has an answer ?? I know the above code is not very nice but May-be it is a typical Sybase problem ? Any suggestion, comment is Greatings, |