-
haocx 数据老手Lv5
发表于2019-10-24 22:04
悬赏1
已解决
楼主
我这边希望可以做维下拉来过滤用户登录的部门,在默认值里放了部门号的默认值,但是没生效,是维下拉不支持么?
27个回答
tangmq 发表于 2019-10-28 10:51
问题的意思是不是这样的:图二中,有好几个宏的例子, login的各种对象,用宏,可以获取到部门的代码值, ...
不行诶,sql如下:select row_.*,rownum from ( select MAX(a.COST_CLASSES) as C3,sum(a.COST_AMT) as D3,MAX(a.COST_REMARK) as E3,a.DEPT_NAME as B3,a.DEPT_NO as A3
from PAYROLL_COST a
where (((a.DEPT_NO is null or a.DEPT_NO='')) AND (a.BBQ like '2019%'))
group by a.DEPT_NO,a.DEPT_NAME )row_ where rownum <= 1000
您好,您 cc上是谁