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

nicocizik

About

Username
nicocizik
Joined
Visits
2,423
Last Active
Roles
Administrator
Company Name
Digital Metaphors Corporation

Comments

  • Hi Andy,

    Sorry, I must have misread your original post. See the articles below on
    how to detect if the report has been printed to the printer or not.

    ------------------------------------------
    Tech Tip: Detecting wh…
  • Hi Andy,

    If you are loading templates in your application, that may be the reason you
    are loosing your event handler code. Please see the article below on lost
    event handlers.

    ----------------------------------------…
  • Hi Charley,

    In order for the ReportBuilder to connect to your Advantage database, it
    needs a TAdsConnection object. If you do not have one defined on your form
    or data module, the plugin will use the default connection and the<…
  • Hi Charley,

    Using Advantage, you will need to have all your table files in the directory
    defined by your connection path.

    --
  • Hi Susan,

    1. You would need ReportBuilder Pro to access the Data Workspace (data tab)
    of the designer. As I said before, there is no automatic copy functionality
    in ReportBuilder but it would be rather easy to recreate these q…
  • Hi Sue,

    There is no way to directly "copy" a query in the Data workspace. I am
    unsure which features you have access to in your end-user program. You will
    need to contact the vendor of your application for more support on this…
  • Hi Dario,

    Yes, but when you run your report, the data tree should show the field
    aliases instead of the actual field names. Below is a quick example I
    created for you that changes the field aliases to be displayed in the data
  • Hi Dario,

    If you right click over the DBPipeline component and select the
    FieldsEditor, you can change the field alias of each field that is sent to
    your report. This will then be reflected in the DataTree of the report
    de…
  • Hi Stig,

    You're going to want to use the Band.BeforePrint event to do something like
    this (most likely the DetailBand.BeforePrint). Instead of checking the
    DBText9.Text value, go ahead and check the actual record value. For
    in Simple? Comment by nicocizik May 2004
  • Hi Dario,

    I'm a little confused about what you would like to see. What would you like
    the viewer to show instead of a blank page when you reset it? If you would
    like to simply see a gray box instead of a page, you may need to …
  • Hi Malcolm,

    Thanks for the feedback, support for EAN128 among others is on our "to do"
    list.

    --------------------------------------------------------
    Tech Tip: UCC/EAN 128 Barcode Generation
    ---------------------…
    in EAN128 Comment by nicocizik May 2004
  • -----------------------------------------
    Article: End-User Tech Support
    -----------------------------------------

    Please understand that Digital Metaphors can only provide tech support to
    the Delphi developers that purchas…
  • Hi Dmitry,

    This is not a known issue with ReportBuilder. You may have a corrupt
    installation. Please see the article below on removing a corrupt
    installation from your computer, then reinstall. If this still does not
    hel…
  • Hi Stig,

    I would suggest placing a TppVariable on your report, and in the OnCalc
    event of the variable, calculate the hours between the two dates using the
    HoursBetween Delphi method. Something like the following.

    us…
  • Hi Jeremy,

    ReportBuilder does not communicate with the printer directly. It gives the
    same Windows API calls to every printer driver which in turn converts to
    printer commands which are then sent to the printer device. If the …
  • Hi Stacey,

    Check out the following example on how to extract the SQL from a report.
    Take a look at the GetSQLObject method for how this should be done. If you
    are loading templates, you will need to use the template event
  • Hi Dexter,

    There is a third party component available on our website (for free) named
    RotatedText. This adds a new label component to your standard toolbar
    inside the ReportBuilder designer that has the ability to be rotated. …
  • This question was answered in an earlier post.

    --
  • Hi Dexter,

    You need to use the Report.Template class to save a report to file in code.
    See the example below.

    procedure TForm1.Button1Click(Sender: TObject);
    begin
    ppReport1.Template.FileName := 'C:\MyReport.rt…
  • Hi Kemal,

    If you set the Report.AllowPrintToFile property to True, the print dialog
    should give you the option to print to a file, even when you print from the
    preview. Are you by chance loading templates? If so, you need to b…
  • Hi Michael,

    You can use the TppReportExplorer.ItemOptions property and
    TppReportExplorer.ItemAction property to define which options you would like
    your users to have from the Report Explorer. If you set "ioAllowDesign" to
  • Hi,

    You need to set the TppSubreport.ShiftRelativeTo property on the second
    subreport to equal the first subreport. This will automatically shift the
    second subreport down as the first subreport prints and becomes larger. You<…
  • Hi Jim,

    Thanks for the feedback.

    --
    Thanks for supporting ReportBuilder! Please vote for ReportBuilder in the
    Delphi Informant Readers Choice awards!

    in TppLine vertical Comment by nicocizik June 2004
  • Hi Jim,

    Using the Edit toolbar, usually at the top left of the designer window, you
    can define the type of line to display.

    --
    Thanks for supporting ReportBuilder! Please vote for ReportBuilder in the
    Delphi Inf…
  • Hi Ronadl,

    Try setting the Report.PreviewFormSettings.WindowState to wsMaximized so the
    window will be maximized when you load the report. You can do this in code
    by including the ppTypes unit in your uses clause or at design t…
  • Hi Hiram,

    By default if you set the Report | Data |... main menu option to
    instead of a datapipeline, AutoStop will be set to True. This should be the
    only time this property should be set to True. If you would however like t…
  • Hi Hiram,

    Check out the following article for information on endless pages.

    ------------------------------------------------------
    Article: TroubleShooting: Report Prints Endless Pages
    --------------------------------…
  • Hi Hiram,

    Unfortunately there is no actual "Delphi like" Object Inspector avaiable at
    run time. Most published properties are accessable from the toolbars in the
    designer and the popup menus for each component by right clicking…
  • Hi Susan,

    Try placing a TppDBCalc component on your report (preferably in a band below
    the Detail band) and assign its data field to the master field (ie. Invoice
    Number) and set its calc type to Count. This will display the co…
  • Hi Luc,

    You need to add ppCTDsgn to your uses clause. See the article below on
    controlling the end user environment.

    ------------------------------------------------------------
    Article: Controlling the End-User Envi…