on 09-30-2009 9:46 PM
I am building a query with several filter prompts which are of data type Value List
The problem is that the list defaults to the first value in the Value List, and I would like to default it to None. The reason of course is so users don't have to switch all the dropdowns to None manually.
I am wondering, what is the default value that can default the list to None? I have tried "0", "None", "null" all to no avail. My current hack is to add another value to the value list called "Any" and make it the first choice in the list.
You can have None default in the VLV filter by putting in the default value of:
<Value List Internal Id>:616:null
The value list internal id is the numeric value found on the definition of the value list.
Hope this helps.
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would suggest to try changing localized resource lable name of 'none' to the another value which is considered to be default value.
Good Luck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately I tried that and it didn't work.
The values of my filter prompt are as follows.
Parameter Name: AGREEMENT_TYPE
Prompt Message Resource: Agreement Type
Default Value: null:616:null
Data Type: Value List
String Matching:Exact Match
Value List Type: Agreement Type
Prefill value from cache:
Optional:
Hidden:
Locked:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to use null:616:null as the default value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.