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

Image don't show

edited October 2008 in Datapipelines
Why does image not appear in preview when we use bpls file? We meet that on
some cases the command 'is' don't work. In ppDbPipe.pas in method
'getAsPicture' has a command 'is'. How do I do for it to work?

Juliano Rafael Silva Barros

Comments

  • edited October 2008
    Hi Juliano,

    1. Which version of ReportBuilder and Delphi are you using?

    2. How are you loading images? Are you manually loading them from the
    database into a TppImage component or are you using a DBImage component on
    the report?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2008
    Hi Nico, we use Delphi 2007 with RB 10.06 and we are loading image through
    of the database with DBImage, we have a executable main and call the modules
    with the method 'loadPackage()', modules are 'bpls'. The command 'is' don't
    work correctly when we try to use inside packages 'bpl', I don't know to say
    exactly when this command work or no, but we test and the error is in the
    ppDbPipe.pas when try to compare with the command 'is' the field with
    TBlobField.

    Juliano Rafael Silva Barros


  • edited October 2008


    I think TBobfield is defined in ppDB.pas and contained in pacakge vclDB.
    Make sure that in your packages, yo uhave vclDB listed in the 'requires'
    clause.

    If a unit is statically compiled into the same package, then you effectively
    have multiple packages that include the same classes and 'is' operator will
    not work. Check the organization of your packages. You probably need to add
    some package references to the 'requires' clause, so that common units are
    not statically linked into mulitple packages.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2008
    Hi Nard, I don't have no files defined in 'requires' I always send bpls with
    the my program. Will I have change my projects?. Do I need to put files in
    'requires' ?

    Juliano Rafael Silva Barros


  • edited October 2008

    When you selet the 'build with runtime packages' option, which packages do
    you include/require?


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

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