Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator II
Creator II

Always one Selected value

Hi Experts,

I want to a specific value(Say 5) to be always selected(by default) in the list box when i open the application.

The issue is, the selected value(default) changes based on the last saved value in that list box.

Can i write some expression to force a specific value(5) to be always selected in the list box??

1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Hi,

Add trigger on open to select value 5 in ID field.

have a look at attached document

Regards

ASHFAQ

View solution in original post

5 Replies
alexandros17
Partner - Champion III
Partner - Champion III

If that value doesn't exsist in data you cannot but you can force that value in your data for any week you want simply using load inline

Let me know

ashfaq_haseeb
Champion III
Champion III

Hi,

Add trigger on open to select value 5 in ID field.

have a look at attached document

Regards

ASHFAQ

martinpohl
Partner - Master
Partner - Master

have a look at document properties / triggers / on open / select in field

remember: this action is not started in AJAX

See help:

OnOpen

Select this event to assign an action to be executed each time the QlikView document is opened. This event is not supported when running in the AJAX client.

Regards

suresh_rawat
Creator II
Creator II

Hi,

Yes you can fix a value to show when you open the application.

Just use triggere -> Select in Field  -> Field is as ID - >Serch String - > 5(As per your requirement).

For reference please go thorough the application as attached.

MarcoWedel

Hi,

in order to dynamically select e.g. the max value in this listbox, you could use expressions in the search string of the select in field action of the application's OnOpen trigger:

QlikCommunity_Thread_138019_Pic1.JPG.jpg

hope this helps

regards

Marco