on 06-18-2009 11:57 AM
用CR2008设计报表,在提示输入参数的时候,如果所输入的参数搜索不到数据,能不能弹出一个提示,然后继续停留在参数输入画面?而不是直接进入一个没有数据的报表里
1.CR没有提供这样的功能。
建议这样做:当结果集为0时在报表中显示一行提示,告诉用户结果集为0,重新点击刷新按钮。
2.如果确实需要这样的流程,可以这样去做:
如果你的报表是通过web页面展现给终端用户的,可以自己写一个页面接收输入参数,拿到参数值后用这个参数先去数据库查询看结果集是否为0,如果是则继续让用户停留在该页面输入或选择参数值,如果不是则将参数值传递给CR报表,刷出报表结果。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.