请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
果果果(uid:123972)
职业资格认证:FCA-FineReport | FCA-业务分析理论
  • ${if(len(分公司) == 0,"","and 购货单位 like N'%" + 分公司 + "%'")} 请问中like后面加N的意义是什么啊?
  • 表单设计:总共有四个报表块,我通过超链接-当前表单对象进行传参,但是发现无法对参数进行重置,请问如何设置?
  • 有没有大神帮我改下SQL,添加,两个字段。我自己尝试了,但是报错。格式是(yyyy-MM-dd)。原SQL: select ,,SUM() ,SUM() ,SUM() ,SUM() from( select resultQTY.soncomp AS ,resultQTY.FQTY AS ,resultQTY.当月日期, isnull(out1.FQty,0) AS ,isnull(out2.FQty,0) AS ,isnull(out3.FQty,0) AS from( select result.soncomp,result.FQTY, FDate , DATEADD(MONTH,-1,FDate) AS ,DATEADD(MONTH,-2,FDate) AS from( select cast(FYear AS nvarchar(5))+'-'+cast(FPeriod AS nvarchar(5))+'-01' AS FDate,soncomp,SUM(FEndQty) AS FQTY from ICBal where soncomp in(select billName from billNameType where billType = '分公司') AND (FNumber like 'F00%' or FNumber like 'F01%' or FNumber like 'F11%') AND FYear>=2016 group by FYear,FPeriod,soncomp)result )resultQTY LEFT JOIN(select result.billName, DATEADD(MONTH,1,DATEADD(MONTH,-1,result.FDate)) AS Fdate,result.FQty from( select vwICBill_8.billName,SUM(isnull(FQty,0)) FQty, cast(YEAR(Fdate) AS nvarchar(5))+'-'+cast(MONTH(Fdate) AS nvarchar(5))+'-01' AS FDate from vwICBill_8 LEFT JOIN billNameType ON(vwICBill_8.billName = billNameType.billName) where FTranType = 21 AND billNameType.billType='分公司' AND (FNumber like 'F00%' or FNumber like 'F01%' or FNumber like 'F11%') AND FROB !=-1 AND Fdate>= '2016-05-01' group by vwICBill_8.billName,YEAR(Fdate),MONTH(Fdate))result )out1 ON(out1.Fdate =resultQTY. AND out1.billName = resultQTY.soncomp) LEFT JOIN(select result.billName, DATEADD(MONTH,1,DATEADD(MONTH,-1,result.FDate)) AS Fdate,result.FQty from( select vwICBill_8.billName,SUM(isnull(FQty,0)) FQty, cast(YEAR(Fdate) AS nvarchar(5))+'-'+cast(MONTH(Fdate) AS nvarchar(5))+'-01' AS FDate from vwICBill_8 LEFT JOIN billNameType ON(vwICBill_8.billName = billNameType.billName) where FTranType = 21 AND billNameType.billType='分公司' AND (FNumber like 'F00%' or FNumber like 'F01%' or FNumber like 'F11%') AND FROB !=-1 AND Fdate>= '2016-05-01' group by vwICBill_8.billName,YEAR(Fdate),MONTH(Fdate))result )out2 ON(out2.Fdate =resultQTY. AND out2.billName = resultQTY.soncomp) LEFT JOIN(select result.billName, DATEADD(MONTH,1,DATEADD(MONTH,-1,result.FDate)) AS Fdate,result.FQty from( select vwICBill_8.billName,SUM(isnull(FQty,0)) FQty, cast(YEAR(Fdate) AS nvarchar(5))+'-'+cast(MONTH(Fdate) AS nvarchar(5))+'-01' AS FDate from vwICBill_8 LEFT JOIN billNameType ON(vwICBill_8.billName = billNameType.billName) where FTranType = 21 AND billNameType.billType='分公司' AND (FNumber like 'F00%' or FNumber like 'F01%' or FNumber like 'F11%') AND FROB !=-1 AND Fdate>= '2016-05-01' group by vwICBill_8.billName,YEAR(Fdate),MONTH(Fdate))result)out3 ON(out3.Fdate =resultQTY. AND out3.billName = resultQTY.soncomp) )result group by , union all --------及时库存 select result.制单,result.FDate,result.库存,outbill.,outbill.,outbill. from( select ICInventory.billName AS ,cast(YEAR(GETDATE()) AS nvarchar(5))+'-'+cast(MONTH(GETDATE()) AS nvarchar(5))+'-01' AS FDate,SUM(isnull(FQty,0)) AS from ICInventory LEFT JOIN billNameType ON(ICInventory.billName = billNameType.billName) where DateTime = CONVERT(varchar(10),getdate(),120) AND FStockType = '实仓' AND company='成品仓' AND billNameType.billType='分公司' AND (FNumber like 'F00%' or FNumber like 'F01%' or FNumber like 'F11%') GROUP BY ICInventory.billName)result LEFT JOIN( ------前3个月出货 SELECT billName AS , SUM() ,SUM() ,SUM() FROM( SELECT FMONTH,FYEAR,billName, CASE WHEN FTypeName='前1个月' THEN FQty else 0 END AS , CASE WHEN FTypeName='前2个月' THEN FQty else 0 END AS , CASE WHEN FTypeName='前3个月' THEN FQty else 0 END AS FROM( SELECT outbill.FMONTH,outbill.FYEAR,billName,fdate.FTypeName,SUM(isnull(FQty,0)) AS FQty FROM( select vwICBill_8.billName,SUM(isnull(FQty,0)) FQty,YEAR(Fdate) AS FYEAR,MONTH(Fdate) AS FMONTH from vwICBill_8 LEFT JOIN billNameType ON(vwICBill_8.billName = billNameType.billName) where FTranType = 21 AND billNameType.billType='分公司' AND (FNumber like 'F00%' or FNumber like 'F01%' or FNumber like 'F11%') AND FROB !=-1 AND Fdate>= DATEADD(MONTH,-6,GETDATE()) group by vwICBill_8.billName,YEAR(Fdate),MONTH(Fdate) )outbill LEFT JOIN(select '前'+convert(varchar,id)+'个月' AS FTypeName,Fyear,FMonth from CAIGOUJUECE_generateTime())fdate ON(outbill.FMONTH = fdate.FMonth AND outbill.FYEAR = fdate.Fyear) group by outbill.FMONTH,outbill.FYEAR,billName,fdate.FTypeName)result)result1 group by billName)outbill ON(result.制单 = outbill.制单) order by desc
  • 如图所示,B2数据ds2,实际值:id,显示值:name,过滤条件:ds2.id=ds1.id。 数据关系:ds1.id in(ds2.id) 逻辑:ds1.id 不在 ds2.id 中则B2为空值,在的话显示name。 现在的需求是设置以一个参数$分公司,可以查询B2的值。 麻烦各位大神支支招
  • 该数据集最大记录行数只有三千多条数据,但是我用帆软填报预览后,进行输出为Excel——原样导出文件。但是打开后文件显示无效。请问是什么原因?如何解决?
  • 如图所示,如何将图片中的时间段参数写在sql语句里?
  • 我想要设置一个参数$产品名称,使其下拉框的值来源于单元格B2,请问如何设置?
  • 表单TAB块中有多个TAB页存在,而且每个tab页中都有单元格超链接-动态参数。现在我无论点击哪个tab页里的参数,所有的tab块的数据都会刷新,这样的话加载速度很慢,有没有大神解决下?
  • 请问各位大神,请问如何设置才能增加一个近12个月数据的参数。已经设置了一个参数$年,现在需要再设置一个参数使其可以直接查询到当前月份的近12个月的参数。原图设置如下:一个是预览界面,一个是聚合报表设计界面。谢谢大佬的帮助

37

37

37

10

个人成就
内容被浏览24,380
加入社区6年278天
返回顶部