-
-
zrn 初学数据Lv2
发表于2020-12-23 10:29
悬赏5
未解决
楼主
您好!
我想在这个界面的输入框中输入字符,点击确定按钮,然后将模糊查询的结果显示到第二个界面。
但是目前实现不了。
我给输入框的参数是@xm,然后按钮设置钻取设置-外链式(我用脚本将外链界面修改成了弹窗式,不知道有没有影响)
然后我在第二个界面中设置过滤条件:
求大神帮我看下为什么这个@xm参数没有传到第二个界面的过滤条件这呢?
我想在这个界面的输入框中输入字符,点击确定按钮,然后将模糊查询的结果显示到第二个界面。


但是目前实现不了。
我给输入框的参数是@xm,然后按钮设置钻取设置-外链式(我用脚本将外链界面修改成了弹窗式,不知道有没有影响)

然后我在第二个界面中设置过滤条件:

求大神帮我看下为什么这个@xm参数没有传到第二个界面的过滤条件这呢?
15个回答
xxxl 发表于 2020-12-23 10:45
您先试试在子表页面中写这样的宏表达式看看能不能取出来
您是这个意思嘛?

这样的话看起来好像确实传过去了,但取的数不正确呀....
只取到了科目编码为空的。


xxxl 发表于 2020-12-23 11:52
我说的是子表计算之后的详情里的sql,看看有没有where条件传过来@xm的值
在bi里计算的时候是这样的:

然后我去数据库里边赋值,是可以出来的

但是在系统里边还是不成


zrn 发表于 2020-12-23 14:31
在bi里计算的时候是这样的:
然后我去数据库里边赋值,是可以出来的
这里等于空串了

过滤条件改成:主题表字段=@参数组件名或者dim(主题表字段)=@参数组件名
主要是输入框如果我不勾选自动计算的话,他就不会传到下个页面,但如果我勾选了自动计算按钮,他就会刷新两遍页面才能跳转到第二界面
zrn 发表于 2020-12-23 15:05
主要是输入框如果我不勾选自动计算的话,他就不会传到下个页面,但如果我勾选了自动计算按钮,他就会刷新两 ...
我们现在再聊的不是没有传值过去吗

勾选自动计算在输入的时候会计算一次,第二次计算应该是您钻取的时候计算一次