report

Reports in Codeigniter

倖福魔咒の 提交于 2019-12-28 02:34:05
问题 What is the most simplist way to generate reports in Codeigniter framework? Is there any library available to do this task? Except charting what are the other resources to do this. 回答1: Found a nice solution myself. If you want to generate reports in csv format it is very easy with codeigniter. Your model function function index(){ return $query = $this->db->get('my_table'); /* Here you should note i am returning the query object instead of $query->result() or $query->result_array() */ } Now

vue-cli 3.0 路由懒加载

青春壹個敷衍的年華 提交于 2019-12-26 02:14:44
当打包构建应用时,Javascript 包会变得非常大,影响页面加载。如果我们能把不同路由对应的组件分割成不同的代码块,然后当路由被访问的时候才加载对应组件,这样就更加高效了。 1. 安装 syntax-dynamic-import 插件 如果在 vue-cli 使用了 babel ,需要添加 syntax-dynamic-import 插件,才能使 Babel 可以正确地解析语法。 $ npm install --save-dev @babel/plugin-syntax-dynamic-import 安装完成后,配置文件 babel.config.js module.exports = { "presets": [ "@vue/app" ], "plugins": [ [ "component", { "libraryName": "element-ui", "styleLibraryName": "theme-chalk" }, "syntax-dynamic-import" ] ] } 2. 修改路由配置 在 router.js 中的组件引用,作如下改动: // import Login from '@/views/users/Login' // import Register from '@/views/users/Register' // import Home

using data from child element to select data in other element using simplexml in php

情到浓时终转凉″ 提交于 2019-12-25 18:39:29
问题 So, I'm using simplexml in php to display elements from an xml file onto a webpage. This is working fine when selecting a whole list child elements in one certain element. The thing is however, I need to select a number of rules in one element, and display the data attached to these certain rules found in another element. To clarify, this a simplified version of my xml file (it contains everything I need): <report> <profile_info> <rules> <rule id="RUL1"> <display_name> XMP does not have

Statistics on large table presented on the web

末鹿安然 提交于 2019-12-25 11:57:15
问题 We have a large table of data with about 30 000 0000 rows and growing each day currently at 100 000 rows a day and that number will increase over time. Today we generate different reports directly from the database (MS-SQL 2012) and do a lot of calculations. The problem is that this takes time. We have indexes and so on but people today want blazingly fast reports. We also want to be able to change timeperiods, different ways to look at the data and so on. We only need to look at data that is

Is it possible to display this data horizontally in SSRS?

筅森魡賤 提交于 2019-12-25 08:48:10
问题 I have a table that that is being joined by another table that looks like this: Id Score Total 1 10 30 1 7 30 1 13 30 2 14 27 2 10 27 2 3 27 I want to be able to display this data like this in SSRS: Id 1 2 3 Total 1 10 7 13 30 2 14 10 3 27 Can this be done and how? 回答1: You can do this by using a matrix. You can add a row identifier for each id in your dataset (assuming you can modify the dataset, as you joined 2 tables). Below code is for SQL Server (T-SQL). Select Id, Score, row_number()

Single prompt parameter for shared parameter in sub-reports' queries

主宰稳场 提交于 2019-12-25 07:18:56
问题 I have put two sub-reports in a main report. The main report comes out fine, but the [Enter Year] parameter appears twice: once for each sub-report's query where it occurs. This is normal, and I can probably reduce it to one prompt by writing code. But I think there must be a way to give a named parameter once, and the sub-report queries will pick it up and use it. I would like a non-code method to do this, since next I will do a similar collected report for many sub-reports with shared

Pentaho don't Generete PDF in UTF-8 encoding

萝らか妹 提交于 2019-12-25 06:38:16
问题 I have a problem related with PDF exportation in Pentaho BI plattform. I'm not able to produce a correct PDF file encoded in UTF-8 and which contains Spanish characters. That procedure neither works properly in local Report Designer nor in BI server. Special characters like 'ñ' or 'ç' are skipped in the PDF file. Generation in other formats works just fine (HTML, Excel, etc.). I've been struggling with that issue for few days being unable to find any solution and would be grateful for any

Free and easy Qt 5.1.0 or Qt 4.8.5 reporting engine [closed]

你。 提交于 2019-12-25 05:38:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . i got hard to print report using NCReport library so there an other esay solution for printing i always got errors when i want to compiler my programme using qt 4.8.5 and ncreport engine her is the error C:\test\build-Ncreport-Qt_4_8_5_MinGW_32_bit-Debug\debug\mainwindow.o:-1: In function `MainWindow': C:\test

Free and easy Qt 5.1.0 or Qt 4.8.5 reporting engine [closed]

岁酱吖の 提交于 2019-12-25 05:38:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . i got hard to print report using NCReport library so there an other esay solution for printing i always got errors when i want to compiler my programme using qt 4.8.5 and ncreport engine her is the error C:\test\build-Ncreport-Qt_4_8_5_MinGW_32_bit-Debug\debug\mainwindow.o:-1: In function `MainWindow': C:\test

Crystal reports not working after creating project setup

…衆ロ難τιáo~ 提交于 2019-12-25 05:29:06
问题 I have created some Crystal Reports for my Windows Project. They function fine when I run them on Visual Studio. (I am using VS 2010). But they wont work after I created the setup project and install the software on the Client PC. I get the following errors: http://tistus.srilanka-erickson.com/errors.html Following displayed is the button click event code that I have used to Load the crystal Report: First try clause has been used to register custom inputs to the Report, meanwhile the second