HI,
I want to apply query range on dimension 2. All possible ways work with dimension[1] but it did not work with dimension[2].
I want to pass dynamic string to dimRange.Value. which will contain two columns on which i will set range. So, while declaring dimRange i declared it for any other column and i mension columnName==[Value] in 'QueryRange.Value'. But for dimension[2] it fails.
I also refered this link: http://www.axaptapedia.com/Talk:Expressions_in_query_ranges
bellow code i am trying out:
dimRange = EmplTable_ds.query().dataSourceTable(tablenum(EmplTable)).addRange(fieldnum(EmplTable, CurrentFacility));
dimRange.value(strFmt('(%1=="%2")',fieldId2Ext(fieldNum(EmplTable, Dimension),2), "PSDU4"));
*This post is locked for comments
I have the same question (0)