Search code examples
delphidelphi-5bde

CreateBlobStream, Stream Size


My Code:

 stream := qry.CreateBlobStream(qry.FieldByName('aaa'), bmRead); 

The record in aaa is actually bigger than the stream's size,which is always 32786.Why?


Solution

  • According to my web searches, you need to increase the BLOB SIZE parameter in the BDE administrator:

    The first of these threads suggests an alternative approach of setting RequestLive of the TQuery to be True.

    The second thread dates from 1902 which would appear to be a rare sighting in the wild of the Y2K bug!