on 07-13-2009 10:36 AM
应该没有什么好办法,默认值只能写一个固定值在那里。
不过你可以自己写程序获得系统当前时间,然后作为参数传给报表。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1.自己写一个页面获得当前系统日期,并将该日期存入变量currentDate;
2.点击提交按钮后,将上述变量传给下边的链接;
3.使用openDocument链接打开一个WebI报表,第一步中获取的日期值作为链接中的参数之一。链接示例如下:
String URLstr = "http://bej-l-01-sunzhang:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?token=" + token + "&iDocID=6159&lsSReportDateParam="+currentDate;
如果不太明白什么是openDocument,可以参考如下的帖子:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.