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

  • --------------------------------------------
    Tech Tip: Selecting Paper Bins for Each Page
    --------------------------------------------


    Sometimes you may want to print the first page of a report to the
    manual bin and t…
  • It may be a problem with the data access side. Is it a proper TDataset
    descendent that supports bookmarks? Are there any event handlers that could
    be causing a problem with the data traversal? Could you provide a simple
    Delphi example…
  • This is normal. We changed the visibility of child components at Delphi
    design time so that you cannot get at all of the objects inside of our
    dataviews as well as charts and other components we did not want you to see
    in the New-For-…
  • It is slower because the report is converting to the new format. Also, the
    printer driver is being initialized when the first report is opened, based
    on the Report.PrinterSetup.PrinterName, if it hasn't been initialized.


    C…
  • The memo controls simply print ascii text. It will read the tags as ascii
    text because that is what they are in its eyes. You'll have to preprocess
    tha data in order to parse out the data inside the tags. You may want to
    research find…
  • If you want to stop the detail bands at a specified position in the data,
    then use the datapipeline properties. These are RangeBegin, RangeEnd, and
    RangeEndCount. You are using DADE, then you'll have to reference
    Report.Datapipeline t…
  • Use autosearch and let your user choose the last week. You can default the
    autosearch value to be the Now function result. Also, you can create a
    custom autoserach dialog. There is a custom autosearch form demo in the
    autosearch demoe…
  • You can add a sender to a JIT pipeline as shown in this example:

    http://www.digital-metaphors.com/tips/JITWithSenderInEvents.zip

    Cheer…
  • First, make sure that the report is not freed while it is still executing.
    Make sure that the Report.Print call has exited and then you should be able
    to safely free the report.

    try
    Report.Print;
    finally
    Close…
  • The short answer is that ReportBuilder for Delphi for .Net is going to be
    written in Object Pascal and leverage the current Delphi classes. This will
    depend on how well Danny Thorpe and the Borland team can build a Delphi
    class librar…
  • Yes, it is possible. You'll have to hook into the viewer's OnPageChange
    event. You'll need RB 7.01 or later to use this event, because RB was using
    this Delphi event, but in RB 7.01 it was changed so that RB can use a
    TppCommunicator …
  • Send the simple rich text report in a simple project that shows the error to
    support@digital-metaphors.com and we'll find out what is happening.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Does this happen with any rich text? Can you reproduce this in a simple
    report outside of your application? Can you send an example report to
    support@digital-metaphors.com that shows the problem?

    PS- I still haven't been able t…
  • First, you don't want to fetch all the records if you don't have to. I've
    seen a call you could make on an Oracle database that returned the record
    count without returning the records which is faster. I believe it was posted
    in a thre…
  • Try disconnecting your event handlers one by one in order to isolate the
    code causing the problem. Then try to recreate this using a DBDEMOS based
    report and send it to support@digital-metaphors.com


    Cheers,

    Jim …
  • Can you send a simple example project to support@digital-metaphors.com that
    shows the problem an we can take a look at it.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Are you storing the value in anything other than the Variable.Value? If you
    are, then that is the problem. The value is not getting restored from cache
    across page breaks. The OnCalc fires again for a detail band when it must
    attmept …
  • No, it shouldn't leak memory. There is a missing notification where object2
    gets freed, but object1 holds a reference to object2 but isn't notified
    when object2 gets freed. So when object1 references object2, it AV's because
    the refe…
  • The image approach is the best at this time. We tested with TC 6.01 and the
    problem in their source is still there.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Yes, there should be an entry in the Add/Remove programs for RB that we
    setup. It sounds like your registry is hosed or the RB installation fails to
    add the entry. Can you test on another machine? Can you search in RegEdit
    for any Rep…
  • It probably is a corrupt installation. Did you follow these instructions
    exactly?

    --------------------------------------------
    Article: Cleaning up a Corrupt Installation
    --------------------------------------------
  • Can you reproduce this problem with our demo reports? What sequence of steps
    are required to show the problem? If there is a problem then we need to be
    able to analyze it in the debugger on our machines.


    Cheers,

  • Add ppTypes to the uses clause.

    There is a new Report.PreviewFormSettings property. The old code will still
    work in the OnPreviewFormCreate event. However, if you want to change the
    Report.PreviewFormSettings before the report …
  • Please do not crosspost. Handled in the DADE newsgroup.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Try connecting the datasource of the pipeline to a DBGrid on a form just to
    see the data at runtime.

    Try disconnecting your report's event handlers until the problem goes away.

    Are you using RB 7.02? Can you reproduce the…
  • Have you turned the GridLines feature off in the crosstab designer?

    You'll have to create borders manually. One way to do it is to create the
    draw command in a custom cross tab renderer replacement. The crosstab
    renderer is loca…
  • You can call ReceivePage on the screen device, however, it may not work as
    the print preview interacts with the connected publisher when navigating
    pages, as a result of call Report.Print. It may not work the way you want it
    to. You s…
  • Here is an example of doing this. What it does is let the report generate
    each page, and in the OnEndPage event, if this is a page to be copied, then
    a TppPage object is created and assign the draw commands that hte report has
    generat…
  • 3. Use report templates! Distribute your app with a database solution as
    shown in our End User examples with the Report Explorer. Then when you want
    to update the user's database, simply send them a report template file (rtm)
    you cre…
  • Answered via email.

    To place a box around each record, a TppShape is most useful with its
    StretchWithParent property set to true.

    An alternative if you want to place a box around a group of records, then
    here is an ex…