Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Trigger function - getselectedcount and getfieldselections

Hello to all,

I used a trigger in the following field in my QVD:

trigger_q1.PNG

trigger_q3.PNG

The function used was: ='('&if(GetSelectedCount(Month)=0,vMonthName,GetFieldSelections(Month,'|' ) )&')'.

For 'OnSelect' and 'OnChange'.

It was working fine, until I tried to select all months to get the year values, then my selections are cleanup.

The funny thing is that if I select 6 values out of 12 months, it works, if I select 7, it breaks again.

trigger_q2.PNG

Any ideas on how to solve this issue?

Thanks a lot!!!!

Regards,

Marco Arruda

2 Replies
sunny_talwar

Can you try this with a small modification:

='('&if(GetSelectedCount(Month)=0,vMonthName,GetFieldSelections(Month,'|', 12) )&')'

Not applicable
Author

Hello Sunny T,

I just tested it and looks like its working perfectly.

Thanks a lot for your support!!

Kind regards,

Marco Arruda