请选择 进入手机版 | 继续访问电脑版
 找回密码
 立即注册

QQ登录

只需一步,快速开始

KinnSoft

高级会员

108

主题

494

帖子

1999

积分

高级会员

积分
1999

活字格认证微信认证勋章元老葡萄

KinnSoft
高级会员   /  发表于:2015-3-17 18:46  /   查看:15205  /  回复:30
有多条数据时, 数据过长时, rdlx报表能否支持自动向下扩展, 请见目前效果图:
        



        1.数据较长, 横线能不能向下扩;
        2.若果有多条数据时, 当同一条的数据没有显示完时, 能否自动另起一行显示, 其中表头(有方格线的信息)显示留住;
           如果不同条数据时, 新起一页显示表头,重新开始显示——连续显示。


        3. 打印出的报表 导出到“Excel”时, 有些数据会“粘”在一起(导入到PDF是正常的), 这个能不能看下,数据自动分开,
        见下图:
         



      请务必告知。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

30 个回复

倒序浏览
KinnSoft
高级会员   /  发表于:2015-3-18 10:59:00
沙发


     你好,请看下这个是我们的报表设定的报表模板,谢谢。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2015-3-18 16:58:00
板凳
回复 2楼KinnSoft的帖子

问题2,建议把需要重复显示的 Table header 通过 Textbox 添加到 GroupHeader 中,附件是我改进的模板,请查看:



模板:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2015-3-19 12:22:00
地板
回复 2楼KinnSoft的帖子


AR 9 中增强的导出 Excel 方法如下:

  1.         protected void Button3_Click(object sender, EventArgs e)
  2.         {
  3.             // Provide the page report you want to render.
  4.             string report = "rptInvoice";
  5.             GrapeCity.ActiveReports.PageReport _reportDef = new GrapeCity.ActiveReports.PageReport(new System.IO.FileInfo(Server.MapPath("/Reports/" + report + ".rdlx")));
  6.             _reportDef.Report.DataSources[0].DataSourceReference = "";
  7.             _reportDef.Report.DataSources[0].ConnectionProperties.DataProvider = "OLEDB";
  8.             _reportDef.Report.DataSources[0].ConnectionProperties.ConnectString = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};", Server.MapPath("/Data/NWind_CHS.mdb"));

  9.             GrapeCity.ActiveReports.Document.PageDocument _reportRuntime = new GrapeCity.ActiveReports.Document.PageDocument(_reportDef);

  10.             // Create an output directory
  11.             System.IO.MemoryStream ms = new System.IO.MemoryStream();

  12.             // Provide settings for your rendering output.
  13.             GrapeCity.ActiveReports.Export.Excel.Page.ExcelRenderingExtensionSettings
  14.             excelSetting = new GrapeCity.ActiveReports.Export.Excel.Page.ExcelRenderingExtensionSettings();
  15.             excelSetting.FileFormat = GrapeCity.ActiveReports.Export.Excel.Page.FileFormat.Xls;
  16.             GrapeCity.ActiveReports.Extensibility.Rendering.ISettings setting = excelSetting;

  17.             //Set the rendering extension and render the report.
  18.             GrapeCity.ActiveReports.Export.Excel.Page.ExcelRenderingExtension
  19.             excelRenderingExtension = new
  20.             GrapeCity.ActiveReports.Export.Excel.Page.ExcelRenderingExtension();
  21.             GrapeCity.ActiveReports.Rendering.IO.MemoryStreamProvider outputProvider = new GrapeCity.ActiveReports.Rendering.IO.MemoryStreamProvider();
  22.             _reportRuntime.Render(excelRenderingExtension, outputProvider, excelSetting.GetSettings());

  23.             Response.ContentType = "application/vnd.ms-excel";
  24.             Response.AddHeader("content-disposition", "inline;filename=MyExport.xls");
  25.             outputProvider.GetPrimaryStream().OpenStream().CopyTo(ms);
  26.             Response.BinaryWrite(ms.ToArray());
  27.             Response.End();
  28.         }
复制代码


Demo :

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
KinnSoft
高级会员   /  发表于:2015-3-19 14:40:00
5#
回复 4楼iceman的帖子

        请看我们调用AR report的代码。


        有任何新的消息,请立即告知,谢谢。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2015-3-19 16:30:00
6#
回复 5楼KinnSoft的帖子


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2015-3-19 16:35:00
7#
回复 使用道具 举报
KinnSoft
高级会员   /  发表于:2015-3-20 09:09:00
8#
您好, 我们开发人员说,需要两个对应的激活码。
        你能发到我邮箱上吗,  我的邮箱linx@kinnsoft.com
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2015-3-20 12:19:00
9#
回复 8楼KinnSoft的帖子

激活码使用 AR9.0 即可,不需要申请新的激活码。
回复 使用道具 举报
KinnSoft
高级会员   /  发表于:2015-4-14 15:36:00
10#
你好, 我现在已经升级到AR9.1了,现在是否如你之前所说的,全力把这个问题,已经非A4纸打印的问题处理了
      这个已经很久了, 非常紧急了。
回复 使用道具 举报
1234下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部