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

DBImage In Preview

edited September 2005 in General
Delphi 6 SP2 / RB Server 7.04 / Stock preview form

Using DBImage and connecting it to the path where my JPEG resides works
great when designing and previewing the report in the designer.

When I call up the report from Delphi via rsClientReport1.print the photos
don't show in the preview form or print on the printer. No errors are
generated.

I must be missing something?

Thanks - Jon Gray

Comments

  • edited September 2005

    In the server app and the client app make sure to add ppJPEG to the uses
    clause.



    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2005
    >>
    In the server app and the client app make sure to add ppJPEG to the uses
    clause.
    <<

    That was part of it. Unfortunately it just dawned on me that using RBServer
    the DBImage path such as C:\TEMP\PHOTO.JPG is really referring to a folder
    on the SERVER, not on the client workstation.

    Is it safe to assume the only way to print user definable photos is to store
    them in the database?

    TIA - Jon Gray
  • edited September 2005

    You could store them on a network drive and directory that resides on the
    server or is accessible by the server. Or database. The key is that the
    server needs access to the images.




    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.