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

digitalmetaphors

About

Username
digitalmetaphors
Joined
Visits
51
Last Active
Roles
Administrator

Comments

  • Any custom components in this report? Are you performing any actions in the
    Report.Template.OnSaveStart event handler that would cause a problem? Can
    you reproduce this problem using our out-of-the-box end user demos?


    Chee…
  • This is not recommended. It is not possible to accomplish what you want to
    do this way. You will have to create your own designer component (copy,
    rename and install a new component package into Delphi) in order to
    customize the desig…
  • Sorry, DADE doesn't support grouping on an expression type calculated field
    where you would extract the month and group the amount by month. You'll have
    to edit the SQL text manually in order to save this inside a dataview. Set
    Allow …
  • You'll have to create a custom autosearch dialog to do this and display the
    "translated" values in a list control manually. Then create your own custom
    autosearch criteria value dictionary. This way you can map the values that
    will be…
  • If you want to change the alias used for the autosearch field name in the
    dialog, then use the Data Dictionary component. Run the Auto Join demo in
    the main End User demo directory for an example. Double click the dictionary
    at design…
  • Yes, you can customize the nodes shown in the Navigation Sidebar' (aka:
    Report Outline). Use the Report.OnOutlineNodeCreate event:

    Declaration

    property OnOutlineNodeCreate: TppOutlineNodeCreateEvent;

    Description…
  • Perhaps the report that is connceted is not the one you are thinking that
    you are using? Is a template being loaded? Can you recreate this in a simple
    example and send it to us at support@digital-metaphors.com I'll be happy to
    take a…
  • Where is this code being called? When you call Report.Print, it should print
    to the device that you have selected in the Report.DeviceType property. Try
    calling Report.Print instead of Viewer.Report.Print.


    Cheers,
  • Your welcome and Happy Easter to you too.

    --
    Cheers,

    Jim Bennett
    Digital Metaphors


  • Please take a look at the crosstab demos #117-120.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Please post only once. I replied to your previous thread:

    Perhaps the report that is connceted is not the one you are thinking that
    you are using? Is a template being loaded? Can you recreate this in a simple
    example and send it…
  • Subreports are not supported when printing to text file. Try joining the
    data together to create a single dataset to print inside of one groupedstyle
    report if you want to print data together in the text file. The other option
    is to p…
  • It works fine for us here. What steps do you take in the report explorer as
    a user to reproduce this behavior?


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Please post only once.

    Please take a look at the installed SQL Server 7 demo. There should be a SQL
    script you can run. We are using it here on our SQL Server 2000 database.

    ..\RBuilder\Demos\End User Databases\SQL Server<…
  • Look in our main End User Report Explorer demo. It assigns these two event
    handlers.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Be sure that you assign the event handler in the Report.Template.OnLoadEnd
    event. This is a public event that you need to hook up at runtime.So, you
    have to assign an OnLoadEnd event handler to be able to get the timing after
    a report…
  • I'm using RB 7.02. If you ignore the errors you should be able to open an RB
    7 report template in RB 6. The problem is that you can't open the TForm in
    D5, because I created it using D6. I've added a template in the download, so
    try t…
  • Here is an example for what I think you want to do. You don't need a pass
    through function to get this to work. All it does is display a draw command
    where the subreport was going to print (when it has no data to print) and
    the report…
  • We aren't aware of a SQL Direct DADE plugin. What database are you using?
    You can write a plugin by examining the BDE plugin (daDBBDE.pas in your
    RBuilder installation) as a guide. Basically the DADE plugin is the classes
    necessary to…
  • Perhaps I'm misunderstanding. Can you create an example of your teechart
    report using DBDemos data and send it to support@digital-metaphors.com I'll
    be happy to take a look at it to make sure we're on the same page and see
    what the pr…
  • RB's Teechart wrapper only supports connecting a chart to a single pipeline.
    RB doesn't support some of the other Teechart data traversal features such
    as some of the extended series and functions. What you will probably have to
    do in…
  • 1. You can load a template very easily to do this by using the public
    template event OnNew:

    procedure TmyEndUserSolution.FormCreate(Sender: TObject);
    begin
    ppReport1.Template.OnNew := NewReportEvent;
    end;

  • Make sure you have the latest printer driver installed. Do our demo reports
    work on this printer? Does it show the problem when you print to the
    printers in the reverse order? If you disconnect the event handlers does the
    problem per…
  • Thanks for the suggestion!


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Adding ppTypes to your uses clause usually works. In this case, it is true
    that this type is located there.

    --
    Cheers,

    Jim Bennett
    Digital Metaphors


  • One way to do this would be to use multiple dictionary entries into the
    database tables, but you need to add a user language field to each of the
    three data dictionary support tables to do this. You need to only return one
    data dictio…
  • Both the field name and field alias are saved down in the template. For an
    example, change the Report.Template.Format property to ftASCII and save a
    report to file with a dataview in it, then open the .rtm in Notepad. Here I
    used the …
  • You can try it, but it may be better in the long run to go with a pure
    database approach. As long as you provide the dictionary data through a
    pipeline to the data dictionary component, I don't see any problem with that
    approach for l…
  • 'And' criteria are implied when two criteria are next to each other.
    Otherwise, if an OR criteria exists between two criteria, then they are
    OR'ed:) You can loop through the criteria objects in a dataview. In the
    AddSearchCriteria exa…
  • One way to do it is to code an event handler in the report. Use a
    TppVariable. It defaults to a string type. Then in the TppVariable.OnCalc
    event handler, reference the report's data pipeline to get the M or S field
    value and display …