Home Devices
New Blog Posts: Merging Reports - Part 1 and Part 2

Read archive from database instead of a file

edited March 2003 in Devices
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

Comments

  • edited March 2003
    We don't have a DBArchiveDevice yet. However, there is a DBArchiveReader
    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


  • edited March 2003
    Well, the company i work for has only a license for the 6.05 version
    (Enterprise) so....

    Anyway, if anyone comes up with good ideas... :-)

    Kind regards
    Vincent



  • edited March 2003
    You can download a trial edition of RB 7 if you want to see demo #155 and
    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


This discussion has been closed.