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

RB18Pro - displaying print preview criteria?

edited June 2017 in End User
Hi

Is there a way in RB18Pro to grab the search values a user enters and
display them on a report *WITHOUT* resorting to code?

What I am trying to do is display the date period a user searches for
on an end user report via ReportExplorer.


I know that there's a way via code to grab these values using
parameters however, for this report, I do not have that option.


Thanks for any assistance.

--
Regards,
Will Owyong

Comments

  • edited June 2017
    I Will,

    You can use the TppSystemVariable component with its VarType property
    set to vtSearchDesc to display a small description of the search
    condition a user enters for the report.

    This is currently the only way to show this information without writing
    any code.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2017
    Nico Cizik (Digital Metaphors) wrote:



    Hi Nico,

    Thanks for getting back to me. Unfortunately vtSearchDesc doesn't have
    the output I was hoping for - I need access to each individual search
    criteria and a hard-coded report is not on the table in this instance.

    E.g. The end user wants to see the date range of the period they
    searched for instead of the data range the data returned has given.
    From an end user's perspective they do not want their report results to
    show missing periods between reports which could be misconstrued as
    them not having run a report for a full period.

    While vtSearchDesc does show the dates used, which is great for
    internal reports and testing, the entire sentence generated may not be
    what the end user wants to see, particularly if it is a report designed
    to be generated and sent to a customer/client.



    --
    Regards,
    Will Owyong
  • edited June 2017
    Hi Will,

    For the customization you need, your options are to either give your
    users access to RAP (which will allow them to write code to display any
    value required), or create a custom report component that can perform
    the same task.

    See the RCL demo in the included RB demos directory for an example on
    how to create custom report components.

    --
    Best Regards,

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