Hi
I am using the following code in the query close event of a ABC view:
@SetTargetFrame (“right”);
@UpdateFormulaContext;
@Command([OpenView]; @Subset(@ViewTitle; -1));
@SetViewInfo([SetViewFilter];“”;“$YearBusUnit$”;1)
Here some documents gets selected based on the category we specify.
Suppose i have years 2007-2009 and ALL YEAR category filter.
I am using the ABC view with the formula mentioned above.
While the user selects the ALL YEAR category, i am using another view named PQR with the formula in the query close event as below.
@SetTargetFrame (“right”);
@UpdateFormulaContext;
@Command([OpenView]; @Subset(@ViewTitle; -1));
@SetViewInfo([SetViewFilter];“”;“$BusUnit$”;1)
These formulas are to reset the filter which was used display the categorized documents.
The original formula to select the category is :
@SetTargetFrame (“right”);
@UpdateFormulaContext;
@Command([OpenView];ViewToOpen);
@SetViewInfo([SetViewFilter];Filter;ColumnName;1);
@Command ([EditDeselectAll])
You cane assume some value for the Filter and ColumnName.
While i am swapping the views like After selecting 2008 if i go for the ALL Year view the error is coming and it is unavoidable.
“Attempt to infinetly recurse on resource link”
I have checked by all means, the set filter values are reset to null in the query close event. Please help with an solution…