Using Range in variables

Stimulsoft Reports.NET discussion
Post Reply
CCS
Posts: 23
Joined: Mon Oct 09, 2023 5:06 am

Using Range in variables

Post by CCS »

So I want to show a variable prompt in Preview. I would like to allow user to specify a From and a To value.

I use the Range type. In the Init By, I use an Expression. And I specify my table field in the From and To (did this by picking from the field list).

I turn on Request from User and Allow User values (tried with this off).

When I Preview the report, I get 2 textboxes for the From and To. But I want to have a drop-down list of values from the field that I attached to (I assume that was the purpose for me to set the Init By).

Any ways to get what I want?
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Using Range in variables

Post by Lech Kulikowski »

Hello,

Unfortunately, for the Range variables, it is not possible to show lists.
You can use two List variables instead.

Thank you.
Post Reply