Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
danosoft
Specialist
Specialist

Set Fields in Alternate State

Hi i need to set Alternate state fileds, clicking to a button, how can i do that?

In my actions's button i do this you see in the picture... but it not work...

16 Replies
danosoft
Specialist
Specialist
Author

ok but look at the file, it not work, the name of my fields is correct, where is the problem?

sunny_talwar

I am not sure I follow... would you be able to share a sample to show what might be going on?

danosoft
Specialist
Specialist
Author

Sure, look i post the example with selection for every fields, i need to do in this way becouse in this example the fields name are the same, but in my real layout i have more selections and it will not have the same name fields

sunny_talwar

See if attached is what you want

danosoft
Specialist
Specialist
Author

Hi, thanks it works, but you see in my example i not want to use the funcion to "Copy State Contents" becouse i can have a button with fields name different, so i can't copy the state, i need to use the Select a field to assign to my field in state "contrattualizzato"

example: i can have these fields

ANNOIN, and MESEIN

and click to button i want the value of those fields copy to fields ANNOOUT, MESEOUT in the state "Contrattualizzato"

danosoft
Specialist
Specialist
Author

is impossible to do that?

danosoft
Specialist
Specialist
Author

I have found the solution if it can help someone in this way :


GetFieldSelections(ANNOIN,';','','$')