report

SQL Server 2005 Reporting Services: How to count rows that are not null? Any hints for calculating totals?

北战南征 提交于 2019-12-05 17:21:42
Using Reporting Services in SQL Server 2005: Is there a way to count only records that are not null; similar to "COUNTA" in Excel? I would think this would be very simple process, but nothing I have tried has worked. For example, I have tried using the following expression for "Completed", which is one column I am trying to count: =count(IIF(Fields!Completed.Value="END")) However, this throws the "wrong number of arguments" error. "Completed" will have a value of "End" or be null. If necessary , I can try to work this into my SQL query, but the query is already incredibly complicated. Also, I

Crystal Reports XI hangs when opening a report

Deadly 提交于 2019-12-05 10:57:16
I am trying to open a report in Crystal Report 11 Designer (product version 11.5.8.826), but it seems to freeze up. This report use to work fine, but today the client could not load the report. I also tried to open the report on another developer's workstation, with the same result. Has this happened to anyone else? In the page setup menu, you can check the No Printer checkbox and it will no longer have the delay of looking for a printer on the network. I find it often useful to start a report against the Microsoft XPS Document Writer Printer or something along those lines though. We found the

X++ passing current selected records in a form for your report

无人久伴 提交于 2019-12-05 10:38:43
I am trying to make this question sound as clear as possible. Basically, I have created a report, and it now exists as a menuitem button so that the report can run off the form. What I would like to do, is be able to multi-select records, then when I click on my button to run my report, the current selected records are passed into the dialog form (filter screen) that appears. I have tried to do this using the same methods as with the SaleLinesEdit form, but had no success. If anyone could point me in the right direction I would greatly appreciate it. Take a look at Axaptapedia passing values

Is it possible to embed javascript into an SSRS Report?

て烟熏妆下的殇ゞ 提交于 2019-12-05 10:10:20
SQL Server reports can embed vbscript and execute client side, but can the same be done with javascript? I think there would be great utility to be able to execute jQuery and CSS manipulation client side to create a more interactive drill down experience. May be late reply , but it will help for others http://direit.wordpress.com/2012/07/24/ssrs-use-custom-javascript-to-call-a-report-in-a-new-tabwindow/ It sounds to me like Reporting Services is the wrong front end for your job. The RDL (report definition) files are basically XML. I don't know of a way to add code to XML. If you consider the

BeautifulReport模块产生的测试报告

ⅰ亾dé卋堺 提交于 2019-12-05 09:37:43
import unittest def add(a,b): return a+b import BeautifulReport as bfr #如果觉得模块BeautifulReport名字长下边不使用麻烦,可以as 后边加一个别名bfr class AddTest(unittest.TestCase): @classmethod def setUpClass(cls):#所有用例执行之前执行它 print('setUpClass') @classmethod def tearDownClass(cls):#所有用例执行之后执行它 print('tearDownClass') def setUp(self): print('setUp') #每条用例执行之前都会执行它 def tearDown(self): print('tearDown') #每条用例执行之后都会执行它 def test_normal(self): #两个测试用例 result = add(1,1) self.assertEqual(2,result) print('test_normal') def test_error(self): print('test_error') result = add(1,1) self.assertEqual(1,result,'结果计算错误') test_suite =

Generate Coding guidelines from CheckStyle

岁酱吖の 提交于 2019-12-05 08:19:04
Is there a way to generate a 'nice' Coding conventions / guidelines document from existing CheckStyle configuration file? This document must contain the description of the rules enforced, and the configuration values (like the max line length, violation severity, etc). The benefit of having such a document is to ramp up a new team member faster, without reading CheckStyle configuration file. I would generally advise against generating even parts of a coding guidelines document, because that would cause acceptance problems with your software engineers. Also, the Checkstyle rules should, in my

Crystal reports - close the database connection

人盡茶涼 提交于 2019-12-05 07:54:09
This is in C#, Visual Studio 2008, crystal reports that came with VS2008 I've got a crystal report viewer form that resides in a DLL. The DLL is responsible for loading the crystal report (based on report filename), and displaying the report on the form. When I'm done with the crystal report, i call dispose on the loaded reportdocument object. However, the database connection remains. Crystal seems to detect that there are other connections (from my main application) to the same database, and keeps its connection open. The crystal connection is closed when the main applications database

Generating lists/reports with in-line summaries in Django

拟墨画扇 提交于 2019-12-05 07:49:15
I am trying to write a view that will generate a report which displays all Items within my Inventory system, and provide summaries at a certain point. This report is purely just an HTML template by the way. In my case, each Item is part of an Order. An Order can have several items, and I want to be able to display SUM based summaries after the end of each order. So the report kind of looks like this: Order #25 <Qty> <Qty Sold> <Cost> <Cost Value> Some Item 2 1 29.99 29.99 Another Item 4 0 10.00 40.00 <Subtotal Line> 6 1 39.99 69.99 Order #26 <Qty> <Qty Sold> <Cost> <Cost Value> ... Etc, you

前端上报

点点圈 提交于 2019-12-05 05:21:01
性能上报--为性能优化提供数据论证 h5 performance 接口调用耗时 运行耗时 系统监控--监控系统的可靠性 PV(综合浏览量) 成功监控 错误监控 其他统计--产品数据分析 平台统计 业务统计 大部分情况下有一个第三方统计系统,根当前域名不一致,用ajax上报会产生跨域,所以这种情况下会用图片上报 简单上报: // 可以跨域上报 new Image.src=`${report_url}` 问题: 上报数量有限制(url长度限制) 上报频率高 复杂上报: let submit_data={}; axios.post({ url: `${report_url}`, data: submit_data }) Post上报没有长度限制 延迟3s上报(批量上报) 埋点上报 // 打点统计耗时 report.time('timeKey'); // do something report.speed(7502932, report.timeEnd('timeKey')); // 统计上报 report.sgkReport(78502760, {key: 'pv', value: 1, id:123}); *注意: 有时候业务中会阻止冒泡,所以需要将上报过程添加在clic: function report(target,id,action){ var img=new Image;

Multilanguage in SSRS

徘徊边缘 提交于 2019-12-05 03:42:36
Is there a way to display/export english SSRS report in some other languages? marc_s No, unfortunately, there's no easy way to do this :-( I've been trying to get this up and running myself, but in the end what I did was basically pass all the labels I want to have displayed on the report from the calling app (an ASP.NET app, in my case). Another approach might be to store the text fragments in a SQL Server table, and add a datasource to your report which retrieves those text labels, and then bind them to the appropriate controls. I tried something like that but haven't been able to make it