brio的一些问题,谢谢
在做brio的下拉菜单中,如何能够实现点击一个菜单条,它的报表就能同步实现,
我的代码是按照help做的,还需要什么东西吗,请各位指教!!
代码如下:
/* Manipulating Limits based on selected value */
var sect_name = 'Results';
var limits_col = 'Quarter';
var choice = DropDown[DropDown.SelectedIndex];
if (choice=='All Quarters')
{
ActiveDocument.Sections[sect_name].Limits[limits_col].Ignore=true;
}
else
{
ActiveDocument.Sections[sect_name].Limits[limits_col].Ignore=false;
ActiveDocument.Sections[sect_name].Limits[limits_col].SelectedValues.RemoveAll();
ActiveDocument.Sections[sect_name].Limits[limits_col].SelectedValues.Add(choice);
ActiveDocument.Sections[sect_name].Limits[limits_col].Operator=bqLimitOperatorEqual;
}