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

Popup box?

edited June 2008 in General
Hello

I would like to prompt the user for a value (an exchange rate) when running
the report. This value should then populate a variable within the report.
Does anybody have any idea how to do this?

Many thanks

Patrick Dens

Comments

  • edited June 2008
    Hi Patrick,

    At which point would you like to prompt the user? If you are writing event
    code in Delphi, you can use one of the various RB events (BeforePrint,
    BeforeOpenDataPipelines, etc.) to show a dialog, then assign the value given
    to a report component.

    If you are using RAP, take a look at the main RAP demo located in the
    \RBuilder\Demos\0. RAP\1. Main\... directory. There are a few examples of
    giving the user a dialog to enter a custom parameter from RAP in there.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2008
    Hi Nico

    Many thanks for the quick reply. However, I don't have access to Delphi, I
    only use report writer and have just begun learning RAP. Is there a way to
    prompt the user for input (Not Auto search) using RAP only and not as per
    the examples in the RAP demo area (Extending RAP).
    If this is the only way it will mean a new build of the report writer just
    for this one report and its something that we cannot do at the present time.

    I look forward to hearing from you.

    Best regards

    Patrick Dens


  • edited June 2008
    Hi Patrick,

    I received an email from Mark D. and assume you are working with him on this
    project.

    It is currently not possible to create a custom dialog in ReportBuilder
    without the use of Delphi code. Perhaps you could add this ability for the
    next release of your software, then it will be in there whenever you might
    need to show a custom dialog again for future reports.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.