Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filtering with list variable

Hi,

I know I can use list variable in OnOpen script to set the months I want to have selected with

LET vMonthList = '(1|2|3)';

And using

='$(vMonthList)'

In OnOpen trigger

But I can't seem to get this to work when using filters in NPrinting. I have tried

=$(vMonthList)

='$(vMonthList)'

But I just can't figure the correct syntax to make the list variable work as filter value.

What syntax should I use?

11 Replies
Not applicable
Author

I know triggers have worked atleast to some extend on the earlier versions, but as Stephen said earlier

NPrinting does not support triggers.

In fact the latest release will disable them entirely.

Naturally I want to use a solution that will work on current future versions.

rong
Contributor II
Contributor II

You have to repeat the dimension you need to filter on in the value field.

Here's what I use to filter on the current Posting Quarter (fiscal quarter):

=[Posting Quarter]=vThisFQ