Subject Is it possible to get progress of a large BLOB reading from database?
Author Antti Kurenniemi
Howzat all.

Is it possible to get the progress of a large BLOB download from a database?
I have a case where the users would like to store files in the database, and
although they're "pretty sure the files will be very small", I'm cynical
enough to be sure that it'll take no more than few days before someone
stores a 600 MB video of his/her little baby taking the first steps, and
opening that will be frustrating without a progress indicator.

I have no problem storing the file size in the table along the files, but I
don't know if and how I can get the BLOB via IBO in pieces so I can work out
the size. Also, if this would be possible to use for uploads as well, that
would be pretty kewl, too.

I am thinking that the OnBlobCallback event of the TIB_Query might be what
I'm looking at, but I can't really find any help on it anywhere. So, any and
all information appreciated.


TIA,
Antti Kurenniemi