参数传递出现把单元格里所有数据都传进去怎么解决

--1.数据集-------------------------------名称:STEPMOVE--类型:数据库查询--运行状态:已执行--运行耗费时间:777ms--参数:---HISDATE:20200901,20200902,20200903,20200904,20200905,20200906,20200907,20200908,20200909,20200910,20200911,20200912,20200913,20200914,20200915,20200916,20200917,20200918,20200919,20200920,20200921,20200922,20200923--内容:SELECT LOTID, PRODUCTNAME, TECHNOLOGY AS TECH, A.STAGE, TRACKOUTQTY AS QTY, LOTTYPE, PRIORITY, TXNTIMESTAMP, STEPDESC, USERID
FROM (SELECT *FROM SDB_TB_WIP_TITO_HISTWHERE  TRACKINTIME>='20200901,20200902,20200903,20200904,20200905,20200906,20200907,20200908,20200909,20200910,20200911,20200912,20200913,20200914,20200915,20200916,20200917,20200918,20200919,20200920,20200921,20200922,20200923'||' 073000000' and    TRACKINTIME< '20200901,20200902,20200903,20200904,20200905,20200906,20200907,20200908,20200909,20200910,20200911,20200912,20200913,20200914,20200915,20200916,20200917,20200918,20200919,20200920,20200921,20200922,20200923'||' 193000000'--TRACKOUTTIME >= '" + beginTime + @"'--AND TRACKOUTTIME < '" + endTime + @"'--AND
AND PRIORITY NOT IN ('7', '8', '9') AND TRIM(LOTTYPE) NOT IN ('C', 'D', 'Z', 'V', 'Y', 'X')--AND (TRIM(LOTTYPE) IN ('P','R','M','L','T','LF') OR TRIM(LOTTYPE) LIKE 'E%')--" + swhere + @") A,(SELECT DISTINCT FAB, STAGEFROM SDB_TB_INFO_STAGEWHERE STAGEGROUP = 'ALL') BWHERE A.STAGE = B.STAGE

FineReport 一帆风顺顺顺顺 发布于 2020-9-24 15:30
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共2回答
最佳回答
0
axingLv6专家互助
发布于2021-4-20 18:32

参数传递的时候设置错了,日期单元格的数据是扩展的,

超链接所在的单元格如果与日期单元格没有父子格关系,就会把日期全部传递过来。

如果只想传递一个,可以使用层次坐标公式来指定

最佳回答
0
krystal033Lv7高级互助
发布于2020-9-24 15:34

改成in

  • 一帆风顺顺顺顺 一帆风顺顺顺顺(提问者) 我只想传递20200901这个值,但是超级链接里的网络报表把单元格数据集所有的值都传进去了
    2020-09-24 16:05 
  • krystal033 krystal033 回复 一帆风顺顺顺顺(提问者) 报表你怎么做的 传上来看看
    2020-09-24 16:06 
  • 3关注人数
  • 374浏览人数
  • 最后回答于:2021-4-20 18:32
    请选择关闭问题的原因
    确定 取消
    返回顶部