Home General

Report parameters being ignored

edited April 2010 in General
Hi,

I'm trying to use a parameter solely to do something in RAP (i.e. it's not
used as a search parameter in a query) but I'm finding it's being ignored.

For example, I create a new report selecting any old view for the
datapipeline, and put a few fields into the detail band.
I add a parameter to the report and call it 'PERIOD'. I make it of type
string, make it enabled and mandatory and make the lookup a list of the
numbers 01 - 13 (always 2 digits). I leave the value field as blank. I also
put a variable in the footer of the report and set its onGetText event
handler to simply do: Text := report.parameters['PERIOD'];
However, the variable is always blank. I've also tried using Text :=
PERIOD.value but that also does not work, it always just uses whatever the
value set at designtime was. If I leave value blank then the variable's text
stays blank; if I set the value to '03' then I get '03' in the variable's
text.

Am I doing something wrong? Or do parameters only work as autosearch
parameters?

Thanks,

Steve Branley

Comments

  • edited April 2010
    If you are not using RB 11.08, then try updating and retest. This sounds
    like an issue we had with a prior release. (If you need download info,
    please send your serial number and registration details to info@).

    If you still have an issue with RB 11.08, then please create a simple
    example project and send in zip format to support@ and we can check it out
    here.



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2010
    Hi Nard

    I am experiencing a similar issue and saw that this might be resolved in
    11.08.

    We have many users currently using RB 11.06 (with packages), is there a
    patch for 11.06? Or could you provide us with the lines of code to change to
    that I could benefit from this fix without having to install the new version
    and ship all of the packages again?

    Thanks,
    Jason.

  • edited May 2010
    Please upgrade to RB 11.08.

    We do not have the resources to provide what you request.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2010
    Hi Nard

    I have upgraded to v11.08 and all is well, the issue is resolved as I had
    hoped.

    Many thanks
    Jason.

This discussion has been closed.