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

nicocizik

About

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

Comments

  • Hi Martijn,

    Every DataPipeline (including the JITPipeline) is closed when the Report
    Engine is freed. You will need to update the TppJITPipeline.RecordCount to
    display the correct number of records when using a larger number of…
  • Hi,

    Yes, you would be able to calculate as many different sums as you like from
    the TppVariable.OnCalc event. You should be able to calculate the sum
    without tax, sum with 8% tax, and sum with 20% tax all in the same event.
  • Hello,

    You should be able to get the results you need by using TppVariable
    components to calculate the sums you need. Below is a small example of how
    you might do this. Essentially you would be placing a single TppVariable in<…
  • Hi Steve,

    The line spacing could have something to do with this but it still does not
    make since why it is only printing correctly sometimes. This is what leads
    me to believe that it a driver issue. It's worth a try. Set the …
  • Hi Steve,

    This is not a know issue with ReportBuilder. If the labels are printing
    correctly on the HP and not on the Epson, it is more than likely a printer
    driver/printer related problem. ReportBuilder uses the same Windows A…
  • Hi Patrick,

    You should be able to toggle the group header and footer band's Visibility
    property in their OnBeforePrint events based on the group value. Be sure to
    set the band Visibility back to True when the group breaks.
  • Hi Kai,

    Here is a small example of adding the TextSearch capability to a custom
    report viewer. This example adds it to the myPrvDlg.pas file and creates a
    new button for the binoculars. You are welcome to use the original
  • Hi Terry,

    Sorry about that, you can free the report object using the
    OnPreviewFormClose event and a TTimer object to wait for the report engine
    to finalize before freeing the Report object. Below is a small example I
    made …
  • Hi Terry,

    When you create an object with a nil owner, it will not be freed
    automatically, you will need to free it yourself in code. Try using the
    following method:

    var
    Report: TppReport;
    begin
    Rep…
  • Hi Gary,

    Using the end user solution, I followed your exact steps and was unable to
    recreate the problem. Inside the preview, the "g's" appear to be cut off
    but when I print to the printer, everything looks fine. This may be a…
  • Hi Gary,

    Try setting the DBText.AutoSize property to True and see if that gives you
    the results you are after.

    --
  • Hi Gary,

    I am a bit unclear on how to recreate this problem. What type of
    modifications are you doing to the fields on the report? Do they display
    correctly when you initially place them on the report? Please provide me
  • Hi Gary,

    Sometimes when using the Report Designer, the bottoms and right sides of
    TppLabels can appear to be cut off but this should not be the case when
    previewing and printing the report. Are the bottoms of the g's and y's
  • Hi Gary,

    Thanks for the suggestion.

    --
  • Hi Gary,

    This is not a bug, ReportBuilder only allows one DrillDownComponent per
    report. The Copy function is realising this and deleting the original
    DrillDownComponent when a new one is created. If you were to set the
    D…
  • Hi,

    When a Report.PassSetting is set to psTwoPass, the first pass is only to
    calculate pagination. No actual pages are received or DrawCommands are
    created until the second pass. So when using CachePages and a two pass
    re…
  • Hi Jure,

    Try setting the Report.CachePages property to True and see if that helps.
    This will save the exact format of each page as you view them the first
    time, preventing changes as you move forward and backward through the pag…
  • Hi Mark,

    Sorry, ReportBuilder does not contain any logic for handling multi byte
    character sets or the unicode character set.

    --
  • Hi Barry,

    Please send a small example of the issue in .zip format to
    support@digital-metaphors.com and I will try to recreate it on my machine.

    --
  • Hi,

    When the detail band contains no data, you will need to use the
    DetailBand.BeforePrint event to keep track of the master record being used.
    From here you can set the Group Header's visibility to False on the master
    reco…
  • Hi,

    Be sure that you are setting the Report.NoDataSettings properly to get the
    effect you desire. Other than that, you should not have to create another
    detail pipeline to get a subreport to print when the data is null. If you…
  • Hi Guillermo,

    It is possible to print to multiple devices at once by creating each one and
    calling Report.PrintToDevices. The following example shows how to print to
    multiple printers at the same time. You will need to use the…
  • Hello,

    What type of exception are you receiving? Be sure that aPage is not nil.
    If possible send an example in .zip format to support@digital-metaphors.com.

    --
  • Hi Alex,

    You will need to use the TppFileDevice's ReceivePage method to separate out
    each page and send it to a newly created TxtraDevice (TPDFDevice). Then you
    can call Report.PrintToDevices for each page and print each page a…
  • Hi Petr,

    Although it is possible, it would be very difficult to create a new
    designer. This is what would need to be done to successfully replace the
    current toolbar in the ReportBuilder Designer. Thank you for your
    sugge…
  • Hi Alan,

    Try using the Report.ColumnPositions property. This defines the left
    position of each column in order. For instance if you wanted a new column
    every two inches, your ColumnPositions would look like:

    2
  • Hi Alan,

    If you want to display the attendance dates horizontally, you will need to
    create a new column for each date as you described below. Then be sure to
    set the DetailBand.ColumnTraversal property to ctLeftToRight. Try cr…
  • ------------------------------
    Article: Searching Newsgroups
    ------------------------------


    ReportBuilder newsgroup archives may be searched using a search engine
    hosted by Tamarack Associates. Access the the followin…
  • Hi Sebastien,

    Check out CrossTab Demo 127 (ct127.pas) located in the
    \RBuilder\Demos\CrossTabs\... directory for an example of adding custom text
    to the column headers in a Crosstab. There is however no way to force a
    Cros…
  • Hi Patrick,

    Try calling Viewer.Reset to clear out the report currently displayed.
    Calling this should give you a blank report page. Also check out the
    Report.NoDataBehavior to define what you would like to happen when there is<…