Using Table Values for User Variables

Stimulsoft Reports.NET discussion
ben.w
Posts: 18
Joined: Tue Jul 30, 2019 5:43 pm

Re: Using Table Values for User Variables

Post by ben.w »

But when there is more than one row in the table, your solution pulls the first row. How do I get it to display a different row?
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Using Table Values for User Variables

Post by Lech Kulikowski »

Hello,

> How do I get it to display a different row?

Where do you want to show a different row?
If on the page, in the Text components, you can use the following expression to change the value, for example:
{SalesTax = DataSourceName.ColumnName}

Thank you.
ben.w
Posts: 18
Joined: Tue Jul 30, 2019 5:43 pm

Re: Using Table Values for User Variables

Post by ben.w »

Just confirming - if I set the variable to datasourcename.columnname, then the user will not be able to override it at the report?

Thank you!
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Using Table Values for User Variables

Post by Lech Kulikowski »

Hello,

Yes, if it set as the initialized value.

Thank you.
ben.w
Posts: 18
Joined: Tue Jul 30, 2019 5:43 pm

Re: Using Table Values for User Variables

Post by ben.w »

Hi Lech,
Well, not quite the answer that I was looking for, but good to know.

If you could look into adding this functionality into a future release, I'd be most appreciative!

Thank you!
Ben
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Using Table Values for User Variables

Post by Lech Kulikowski »

Hello

Ok.
Please let us know if you need any additional help.

Thank you.
Post Reply