Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
LeeSmithBtn
Partner - Contributor II
Partner - Contributor II

retain Field selection when leaving sheet

Hi All,

looking for some help,

i am trying to build into an app some logic that will do the following...

set a variable of the current field selection when i leave a tab, then when i return to that tab re select the last selection made on that tab in the same field...

for example:

i go to tab 1 and make a selection in Field1, and select ABC123 - 

i want to then set this last selected value as a variable (e.g vLastField1 = ABC123)

i move to tab2 it clears the selection in Field1

i return back to Tab1 and in field1 i set an action to 'select in field' Field1 vLastField1

 

i hope that makes sense and is possible 

thanks

 

4 Replies
Miguel_Angel_Baeyens

I did this long, long ago, as an example on using bookmarks to keep values when changing sheets: https://community.qlik.com/t5/QlikView-App-Development/Sheets/td-p/222429

I'm not sure how this would behave on a server, though, as I have not tested it other than in QlikView Desktop.

Brett_Bleess
Former Employee
Former Employee

Qlik_hot, did Miguel's post get you what you needed?  If so, do not forget to come back to the post and use the Accept as Solution button on his post to give him credit for the assistance and let other Community Members know this worked.  If you are still looking for help, let us know what you still need.  

The only other thing I have for you would be to search the Design Blog area for ideas:

https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog

Not sure if there is anything directly related to this there or not, will let you search yourself, as you know better than do I what you are really looking for on this one.  Hopefully you may run across something that gives you some further ideas.

Cheers,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
LeeSmithBtn
Partner - Contributor II
Partner - Contributor II
Author

Apologies all, i have tried the solution sent by Miguel, unfortunately this doesn't work on the access point as it only works as suggested by the document book mark which doesn't then work on user bookmarks without creating a book mark everytime. shame it couldnt be that it deletes the bookmark each time and creates a new one. 

 

Brett_Bleess
Former Employee
Former Employee

Only other thing of which I can think is the following:

https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Detach_Chart.ht...

The only other thing would be Actions, here is another link related to those on a Button object, click on the Add action... link on the far right side of that page to jump to that section, you might be able to piece together something that way...

https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Button2.htm#anc...

Cheers,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.