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

nicocizik

About

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

Comments

  • Hello,

    When creating your templates to be used with ADO, you need to define an
    ADOConnection component that exists on your applicaton form or data module,
    which in turn connects to your SQL Server database using a connection str…
  • Hi Peter,

    The TppRichText works very similar to the TRichEdit component in Delphi.
    Your second attempt was very close to what you need to do. First call
    SellectAll, then instead of changing the Font directly, you need to access…
  • Sorry, my fault again. Both objecs being sent to the OnStartPage event
    should be TObjects.

    ppListPrinterDeviceStartPage(Sender: TObject; aPage: TObject);

    --
  • Hi Benson,

    I believe the OnStartPage event needs a TObject in its declaration as the
    sender for the event.

    OnStartPage(Sender: TObject; aPage: TppPage);

    --
  • Hi Benson,

    Sorry, my mistake. To access the printer device, you first need to check in
    the Report.BeforePrint that the PrinterDevice is not nil. Then you can
    access it through the Report.PrinterDevice property. From here you …
  • Hi Benson,

    You can access the TppPrintDevice from the Report.Publisher.Devices
    property. From the printer device, you can assign the OnStartPage event

    --
  • Hi Benson,

    In my testing, turning Collation off (False) causes the Report.OnStartPage
    to only fire once per page. If I turn Collation on (True) then OnStartPage
    fires once for every page including the copied pages. Regardless,…
  • Benson,

    I'm a bit unclear about what you are trying to accomplish with the code in
    the StartPage Event. When you set Collation to True, will the report print
    two copies or just one total? Try printing your report without the u…
  • Hi Peter,

    The TppSystemVariable component value is not customizable. My suggestion
    would be to place a TppVariable in your footer and in its OnCalc event, set
    its value equal to Report.PageNo + 4. Something like the following…
  • Hi,

    Check out the following end-user example using DataSnap (Borland's latest
    name for Midas). I would suggest including the daDataSnap.pas file in your
    application with either TdaClientDataSet or TdaClientDataView components.<…
  • Hi Daniel,

    The TppBDEPipeline and TppDBPipeline will work exactly the same when
    connecting to a database. The reason the TppBDEPipeline is still around is
    for legacy code will continue to work such as your own. In short, there…
  • Hi Steve,

    Instead of your code below, I would do something like the following...

    Use the OnGetBreakValue to set your global boolean variable FBreakBoolean,
    then inside the GroupHeaderBand.BeforePrint event, change the
  • Hi Steve,

    I am a bit unclear about how this report is set up. Are you pulling a
    boolean field off of a database and breaking on that value? By using a
    boolean field as the break value, you should be able to use the
    OnGetB…
  • Hi Joseph,

    Though I have not seen this error before, I do not see a problem with adding
    this code to the destroy method. It is probably a good idea to do so
    anyway. Thanks for pointing this out. I'll add this in the next rele…
  • Hello,

    Your request has been logged. Thanks for the suggestion.

    --
  • Hello,

    Unfortunately there is no built in feature like the one you describe below.
    My suggestion would be to use TppMemo objects like in demo 33 (dm0033.pas)
    located in the \RBuilder\Demos\1. Reports\... directory. You could ch…
  • Hi Jeremy,

    I believe the first option below will be the best for your situation.

    ---------------------------------------------
    Article: Currency Formatting in ReportBuilder
    --------------------------------------------…
  • Hi Oleg,

    In my testing, I was unable to recreate this problem. You might try
    downloading a trial version of ReportBuilder 7.03 and test with that. It is
    not however recommended that you use DataPipeline Traversal when dealing<…
  • Hi Allan,

    The RAP Packages should install automatically during the install of
    ReportBuilder 7.03. I would suggest trying to completely remove
    ReportBuilder from your computer and reinstalling. Please follow the
    instructio…
  • Hi Keith,

    Try calling Report.Reset...

    --
  • Hi Keith,

    You can use the OnDrawCommandClick event of any object on a report to
    capture a click event in the Report Preview. From this event you could show
    your separate dialog.

    --
  • Hi Joe,

    I'm sorry, I am not aware of the OnPrintPreview event, however if you are
    loading a report, you need to apply the TextSearchSettings before the call
    to Report.Print. If you are loading Templates in an end-user applicati…
  • Hi Joe,

    Check out the following example. This shows how to extend columns to the
    next page by controlling which pages are sent to the printer devices. Hope
    this helps.

    in Very Wide report - needs multiple pages Comment by nicocizik January 2004
  • Hi Santy,

    You might try using the Summary band rather than a footer band. The Summary
    band will always print on the last page of the reports. If you would then
    like it to be at the bottom of the last page, you can adjust the P…
  • Hi Kurt,

    Please send the following message to info@digital-metaphors.com.

    --
  • Hi Marc,

    I created a patch for this issue. Please send an email to
    support@digital-metaphors.com requesting the patch and we'll send it right
    out.

    --
  • Hi Marc,

    In my testing, I was able to set the formatting correctly for a PageNo
    SystemVariable in a Section Style Subreport and in a main report. The
    display format for both the main report and subreport did not apply to the
  • Hi Will,

    Where are you making the calculations for these variables? My suggestion
    would be to change the color of the variable components just after you make
    the calculations for their values... preferably in the TppVariable.On…
  • Hi Mario,

    I see, so you are trying to count the amount of 2nd level group breaks in
    the footer of each 1st level group. It looks like initially you are on the
    right track by creating a global variable GroupNo and incrementing i…
  • Hi Mario,

    If you have not done so already, try placing a TppDBCalc component in the
    1st level group footer with its calculation set to Count(*) and set to reset
    on group A break. This should give you an accurate count of how ma…