User Requested Variable with Data Columns
User Requested Variable with Data Columns
Hello,
I am using a version of Reports.NET, delivered with VR Report Generator from Visure Requirements. I want to prompt the user with a variable containing a list of string values from Data Columns. This works fine, but I would like the inital value to be empty instead of the first item in the data column. Is there any way to accomplish this? See attached pictures for reference.
Best regards,
Anders Fuglesteg Nilsen
I am using a version of Reports.NET, delivered with VR Report Generator from Visure Requirements. I want to prompt the user with a variable containing a list of string values from Data Columns. This works fine, but I would like the inital value to be empty instead of the first item in the data column. Is there any way to accomplish this? See attached pictures for reference.
Best regards,
Anders Fuglesteg Nilsen
Re: User Requested Variable with Data Columns
Hello,
Please try to set the Expression property for variable.
Thank you.
Please try to set the Expression property for variable.
Thank you.
- Attachments
-
- Capture.PNG (26.17 KiB) Viewed 2844 times
Re: User Requested Variable with Data Columns
Hello, Thanks for the reply,
The first item in the data column is still displayed when excecuting the report. Not an empty field.
The first item in the data column is still displayed when excecuting the report. Not an empty field.
Re: User Requested Variable with Data Columns
Hello,
Sorry, we did not quite understand your problem. Sorry again, but that is not possible. In this case the first entry will always be shown. Could you describe in more detail why you need this, we will try to find a workaround.
Thank you.
Sorry, we did not quite understand your problem. Sorry again, but that is not possible. In this case the first entry will always be shown. Could you describe in more detail why you need this, we will try to find a workaround.
Thank you.
Re: User Requested Variable with Data Columns
Hello,
Sorry, we did not quite understand your problem. Sorry again, but that is not possible. In this case the first entry will always be shown. Could you describe in more detail why you need this, we will try to find a workaround.
Thank you.
Sorry, we did not quite understand your problem. Sorry again, but that is not possible. In this case the first entry will always be shown. Could you describe in more detail why you need this, we will try to find a workaround.
Thank you.
Re: User Requested Variable with Data Columns
Ok. Thanks
The situation is this:
The users generate a report containing requirements for a given product. Each of these requirements have a set of predefined attributes and could in addition have user defined attributes. When the user wants to generate a report, they are presented with some variables (containing report meta data and strings that initialize report content filters). One of these filters is requirements attributes. I have included 4 variables containing the data column shown in Desired function.png. When the user starts to define the variables for the report, all the four attribute variables is intialized with the first element in the data column. If the user doesn't want to include any attributes, they have to wipe the text from each of the four input boxes.
For context:
The attribute variables are used to filter databands.
The situation is this:
The users generate a report containing requirements for a given product. Each of these requirements have a set of predefined attributes and could in addition have user defined attributes. When the user wants to generate a report, they are presented with some variables (containing report meta data and strings that initialize report content filters). One of these filters is requirements attributes. I have included 4 variables containing the data column shown in Desired function.png. When the user starts to define the variables for the report, all the four attribute variables is intialized with the first element in the data column. If the user doesn't want to include any attributes, they have to wipe the text from each of the four input boxes.
For context:
The attribute variables are used to filter databands.
Re: User Requested Variable with Data Columns
I replaced the four variables with a list variable instead, then all the items are selected by default, but at least its fast to tick off on the ones to include. The filter expression looks like this:
(Requirements_Attributes.Name==Attribute[0] || Requirements_Attributes.Name==Attribute[1] || Requirements_Attributes.Name==Attribute[2] || Requirements_Attributes.Name==Attribute[3]). Would it be possible to make the filter scaleable to contain more or less than four conditions depending on the number of items in the data column?
(Requirements_Attributes.Name==Attribute[0] || Requirements_Attributes.Name==Attribute[1] || Requirements_Attributes.Name==Attribute[2] || Requirements_Attributes.Name==Attribute[3]). Would it be possible to make the filter scaleable to contain more or less than four conditions depending on the number of items in the data column?
Re: User Requested Variable with Data Columns
Hello,
Thank you.
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?Fuglesteg wrote:Would it be possible to make the filter scaleable to contain more or less than four conditions depending on the number of items in the data column?
Thank you.