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

nicocizik

About

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

Comments

  • Hi Leo,

    You can use the TraCodeModule.BuildAll routine to compile all the code in
    the template and show an exception for your users at the time you save the
    template.

    uses
    raCodMod;

    TraCodeModule(R…
  • Hi Rafael,

    Sorry, I'm a bit unclear about what you would like to do. It is possible to
    add event code to the DetailBand.BeforePrint event using RAP. If the event
    is already coded in Delphi, I would recommend moving that code…
  • Hi Rafael,

    Yes, this is possible with the use of RAP which is included with the
    Enterprise edition of ReportBuilder. RAP stands for Report Application
    Pascal meaning it is a programming language that allows you to place event…
  • Hi Ken,

    The designer does not really have a concept of "pages" so I believe the best
    way to define each page for your users would be to create two subreports and
    have them tab back and forth between the two to assign their fie…
  • Hi Jean-Francois,

    The designer history in the file menu is controlled by the rbuilder.ini file
    located in the \Windows\ directory. If you take a look at the [Last Reports
    Accessed] key, you will see a list of files along with…
  • Hi Gillian,

    You can access the designer toolbar popup menu using the
    TppDesignerWindow.ToolManager.ToolbarPopupMenu property. The following code
    removed the data and report tree menu items...

    ppDesigner1.Form.Layou…
  • Hi Ken,

    You can access the subreport TTabset object using the TppDesigner.TabSet
    property. In my testing, placing code in the OnShow event of the designer
    to change the TabSet.TabIndex successfully changed the subreport tab w…
  • Hi Maikel,

    Try placing a TppVariable inside your report and using it to keep track of
    the page number. You will want to use the OnCalc event to alter the value
    and be sure to set the timing to calculate on Page Start (timing …
  • Rafael,

    Your going to want to assign the AfterPrint event inside the OnLoadEnd event
    of the template, not assign the OnLoadEnd event to run the AfterPrint
    code...

    ppReport2.Template.OnLoadEnd := TemplateLoadEndEvent…
  • Rafael,

    Where are these events defined (RAP or Delphi)? If they are defined in
    Delphi, you will need to reassign the events after the template has been
    loaded in the Template.OnLoadEnd event. If the events are coded in RAP, …
  • Hi Mark,

    Depending on how your data is arranged, it is possible to create a report
    like the one you describe below using subreports and a master-detail
    relationship. Take a look at some of the master-detail demos located in t…
  • Hi Ebo,

    Take a look at the following examples. The first shows how to create and
    use the Query Designer in code. The second creates teh Query Wizard in code
    and the third creates the Report Wizard in code.

  • Hi Steve,

    Yes, this must be what is happening. I do not have older versions of
    ReportBuilder available to test with so I'm unsure if there is a way to work
    around this limitation.

    --
    Regards,

    Nico …
  • Hi,

    Are you certain the code you have below is firing? If so, this may be a
    limitation of RB 9.x. I did some testing with RB 10.06 and verified that it
    is possible to accomplish with that version.

    --
    Regards…
  • Hi,

    Try using the TppDesigner.OnTabChanged event to determine which tab is
    currently selected. Then you can use the Form.MainMenu property to access
    the menu items and customize them any way you need.

    --
    Rega…
  • Hi,

    You can use the TppDesigner.HelpFile property to define which help file you
    would like to use from the end-user designer.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Calc Tab Menu Help Comment by nicocizik April 2007
  • This message has been replied to in the devices newsgroup. Please do no
    repost identical questions.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http:…
  • Hi Steve,

    Unfortunately we do not have any of the built-in ReportBuilder help files
    translated into different languages. There is a version of the Learning
    ReportBuilder application available in German from our website which …
  • Hi David,

    Are you running Delphi 2007 as an administrator? If not, you will need to
    do so in order to write to the RBuilder.ini on a Vista machine. At design
    time there is currently no way to change where these settings are …
  • A report archive is a "snapshot" of a generated report that can be viewed at
    any time using the TppArchinveReader object (located on the component
    palette in Delphi. Once you generate a report, you can save it to an
    archive file o…
  • For future reference, please use your real name when posting to these
    newsgroups.

    Inside the BeforePrint event, you can check which printer was selected by
    the user and save that name in your application. Then the next time y…
  • Hi Franco,

    When you trace your code, which line is failing? I'm going to need more
    information on what is happening with your code to understand the problem.

    I'm sorry, we do not have older versions of ReportBuilder avai…
  • Have you tried something similar to the code I gave in my previous post? In
    my testing, this worked correctly.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    in Select Printer Urgent 2 Comment by nicocizik May 2007
  • Hi Franco,

    After the user selects a printer, you will need to access the printer object
    to find which printer they selected. Try using the OnPrintDialogClose event
    to access this value. Something like the following...
    <…
  • Hi Sergey,

    Try setting the detailband.PrintCount to 1 in the StartPage event of the
    report when the page number is 4. Then be sure to set it back to 0 for the
    next pages.

    --
    Regards,

    Nico Cizik
  • Hi Tom,

    Sorry for the delay, for some reason my newsreader was not picking this
    thread up.

    What database and connectivity are you using? In my testing with a similar
    setup to the one you describe below with SQL Ser…
  • Hi Tom,

    ReportBuilder gets the field datatype directly from the database you are
    accessing. Are you calculating the average time spent in SQL code? If so,
    you will need to cast that field as an int or else the datatype will …
  • Hi Tim,

    Does this happen at design time or runtime? Which exact version of
    ReportBuilder are you using? In my testing with RB 10.06 and Delphi 2007, I
    was unable to recreate the error. Be sure you are using the latest versi…
  • Hi Ian,

    Please use your real name when posting to these newsgroups.

    Sorry, I misread your initial post. Yes this is functioning as designed.
    If you hold the key and click the detail dataset, you will see the
    under…
  • Ian,

    A master-detail report implicates that you will have a one to many
    relationship between the master and detail dataset. This is not the case
    for your two datasets. I would recommend simply joining the CALLS and
    LOS…