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

Dev environment

edited October 2006 in General
A quick question,

What would be the best Delphi version to use with RB10?

I understand it works with many versions, but would it be best to be
working with Delphi 2006?

Regards
Charles

--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited October 2006
    Two other things I am wondering about,

    Jpeg and Gifs are not supported within the image component. Is this going
    to change any time soon? Or is there a work around I have missed.

    Is it possible to create custom joins between tables without manually
    creating the SQL?

    Regards
    Charles

    --- posted by geoForum on http://delphi.newswhat.com
  • edited October 2006
    Hi Charles,

    ReportBuilder will function the same for Delphi 6, 7, 2005, and 2006. If
    you are a fan of the older IDE, I would recommend using Delphi 7. If you
    would like to use the latest IDE and latest features of Delphi, I would
    recommend using Delphi 2006.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2006
    Hi Charles,

    Both JPEGs and GIFs are natively supported by the image component. You will
    need to add ppJPEG or ppGIF to your uses clause in order to view these types
    of images. Other image types are also available. See the article below for
    more information.

    Take a look at the following example of manually linking two datasets in
    DADE.

    http://www.digital-metaphors.com/tips/LinkDataviewsInCode.zip

    ---------------------------------------------------------------------
    Article: ReportBuilder Image Support
    ---------------------------------------------------------------------

    ReportBuilder natively supports .bmp, .jpeg, .wmf, .ico image formats.

    ReportBuilder has an open architecture that supports any TGraphic
    descendant.

    For example, ReportBuilder ships with a freeware component called GIFImage
    that can be used with ReportBuilder to print .gif images. (see the main
    report demo app for an example.)

    There is another freeware component called GraphicEx that
    supports several additional formats - including tiff, targa, and autodesk.

    It can be downloaded from:

    http://www.lischke-online.de/Graphics.php


    ReportBuilder can easily support TGraphic descendants
    with a simple register call.

    Below is the code to our ppGIF.pas unit which
    'uses' and registers the freeware GIFImage component.


    {********************************************************************}
    { }
    { ReportBuilder Report Component Library }
    { }
    { Copyright (c) 1996, 2000 Digital Metaphors Corporation }
    { }
    {********************************************************************}

    unit ppGIF;

    interface

    {$I ppIfDef.pas}

    uses
    ppCtrls, GIFImage;

    implementation

    {***************************************************************
    *
    ** I N I T I A L I Z A T I O N / F I N A L I Z A T I O N
    *
    {****************************************************************}

    initialization

    ppRegisterGraphicClass('GIF', TGIFImage);

    finalization

    ppUnRegisterGraphicClass(TGIFImage);

    end.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2006
    Thanks Nico,

    Just wondering about the answer to this question though.


    Regards
    Charles

    --- posted by geoForum on http://delphi.newswhat.com
  • edited October 2006
    Hi Charles,

    Sorry, I missunderstood your initial post.

    You can use the Join dialog in DADE to create joins in SQL. In the query
    designer, simply add two tables in the tables tab and the join dialog will
    pop up.

    If you would like to do this in code, you will need to use the SQLBuilder
    object. See the TdaSQLBuilder topic in the RB Help.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.