Read archive from database instead of a file
Hi there!
I have folowing problem. For a project here at work i need to store an
archive of the printed invoices in the Database. Later on these stored
archived will have to printed from database.
Is there a way to store/load the archive of a given report directly to/from
database.
Or do i have to load the archive from file into a blob and store it to
database and in the other direction to print??
Any help would be appreciated. & Kind regards
Vincent
I have folowing problem. For a project here at work i need to store an
archive of the printed invoices in the Database. Later on these stored
archived will have to printed from database.
Is there a way to store/load the archive of a given report directly to/from
database.
Or do i have to load the archive from file into a blob and store it to
database and in the other direction to print??
Any help would be appreciated. & Kind regards
Vincent
This discussion has been closed.
Comments
component in RB 7. Run the main reports demo #155 for an example of
transferring your current archive files to a simple paradox database and
then use the DBArchiveReader to print them.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
(Enterprise) so....
Anyway, if anyone comes up with good ideas... :-)
Kind regards
Vincent
how it works. Alternatively, you could load the archives from the database
and stream them back into a file and use the file based ArchiveReader, if
your company cannot upgrade to the latest version of RB to use the new
DBArchiveReader component. If you are using one of the earlier 6.0 versions
of RB, we recommend upgrading to RB 7. By upgrading to our latest version,
you are getting well over a year's worth of enhancements and bug fixes. To
use the DBArchiveReader, all you have to do is configure the
DBArchiveReader.DatabaseSettings to point to the datapipeline, tell it which
field retrieves the archive BLOB information and call DBArchiveReader.Print.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com