Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Here's the list of values in the list box (or field)
YTD,
MTD,
Jan,
Feb,
Mar,
..
..
..
Dec
I created a button to help the user select all the months at one go - Toggle select.
Field_name: AdhocCols
String: (Jan|Feb|Mar|Apr|May|.........|Dec)
This works fine only if the user hasn't already selected one of the months in my list. If he has selected YTD, MTD, Jan & Feb already, then my button deselect Jan & Feb.
Please help. how do I make the button disregard the current selections in that field.
Thanks Miguel! Let me try this out
Gonna try this out thank you so much for this. Will update shortly.
This didn't work
I added this in the search string but the button action does nothing.
No Susovan this didn;t work. The whole prob is this - selecting all the months happens using your method but it deselects the user selections that already exist. In my case I want to select the months in addition to the YTD, MTD etc. selections.
It does work for me. You will need to change the field name to whichever is yours, likely.
Thanks! Let me see why it isn't working in my app. Will update shortly.
Yay! Thank you Miguel. I had missed to replace field name
One question though - when I use this, the current selection field shows multiple values for months. How can I avoid that?
You cannot, the current selection object displays whatever selection is made in the current document. If you select them manually the appearance will vary (e.g.: you don't need to use "(" or "|") but the result is the same.
Cannot edit so reply to myself for further clarification: