report

APEX dynamically define default filename?

Deadly 提交于 2019-12-11 10:58:16
问题 In an APEX application, I have an interactive report. In Report Attributes > Report Export > Filename , you can specify what file name you the download to have as a default. Question: Is there a way to dynamically define this default filename? Yes, I know, the user can change it when they do the download. But my boss wants the user to not to have to change the file name. What can anyone tell me? Thanks!! APEX 4.2 Windows 7 IE 11 回答1: Yes you can do this. Create a hidden page item (e.g. P1

Use a table's specific (single) cell data

为君一笑 提交于 2019-12-11 10:57:47
问题 Using JavaScript, how to get a Table data and store it in an array, so that it can be used by different report item. For example, I need to use a table's specific (single) cell data and display it using another report item. 回答1: You can just assign data set field (or anything) to a global JavaScript variable and use it in another report item. Having: +---- |table +---- +---- |dynamic text +---- in Table onCreate -- initialize array: myArray = new Array(); in Table row onCreate -- fill in the

Error: “The call is ambiguous between the following methods or properties”?

最后都变了- 提交于 2019-12-11 10:06:50
问题 When I run my project,the following error message is displayed: The call is ambiguous between the following methods or properties: 'Microsoft.Reporting.WinForms.ReportDataSource.ReportDataSource(string, System.Collections.IEnumerable)' and 'Microsoft.Reporting.WinForms.ReportDataSource.ReportDataSource(string, System.Data.DataTable). Why? firstReportDBDataContext dc = new firstReportDBDataContext(); private void Form1_Load(object sender, EventArgs e) { dsFirstReport.dtLoaiHangDataTable dt =

odoo Qweb report lines in alphabetical order

戏子无情 提交于 2019-12-11 09:53:22
问题 I'm getting crazy for what I believe it is a really silly matter. I need to render the result of an array in alphabetical order: <tr t-foreach="o.order_line" t-as="l"> <td> <span t-field="l.name"/> </td> should I use a SQL query SELECT * FROM table ORDER BY l.name DESC ? but it seams too complicated, I have the feeling there is a simple condition to render it correctly... any help highly appreciated! Thanks! 回答1: Have a look at this You could set a new variable to order_line.sorted() and then

How to group by a table display method in a report?

心不动则不痛 提交于 2019-12-11 09:19:43
问题 I have a table CustInvoiceJour. I use report to print some info by grouping some fields (Sales Price, SalesUnit in the report Query. Report prints sum(LineDisc), sum(LineAmount) values. I want to modify report adding one more group by field - but that field is display method. Axapta 3.0 only supports physical fields to group by. What is the fastest possible way to do that? 回答1: Sorry, but Axapta 3.0 does not support grouping by a display method and nor do any other version of AX. AX 2012

SSRS - Matrix Table Reading Previous Row Values

北城余情 提交于 2019-12-11 08:54:27
问题 I've been trying to read the previous row value(that displays hourly quantities) on the matrix table to compare it with current row value and highlight the background color to yellow if the difference between them is out of accepted tolerance range. The matrix table has a combination of grouping on column and row(for only hourly information) that is shown on the picture. Tried to use the custom code to achieve this, but I'm getting an incorrect result . I've attached the report design image,

Going to Specific tab in oracle forms

两盒软妹~` 提交于 2019-12-11 08:49:57
问题 I have 3 radio button A ,B, C and I have 3 tab page in the canvas A, B,C. My Requirement is if user select radio A and press Submit button then tab A Should get activated and my cursor got to tab A. 回答1: If it is enabled and visible then you can use the following commands: go_item('blockname.itemname'); or go_block('blockname'); If you don't need to go to a specific item then use the second command go_block. 回答2: To enable a tab page: set_tab_page_property('TAB_PAGE_NAME',enabled,property

Excel/iReport date type

ε祈祈猫儿з 提交于 2019-12-11 08:36:58
问题 I make a report in iReport with an Excel file. In the Excel file I use these time types: h:mm yyyy.mm.dd h:mm When I start a new report I am getting this message: Error filling print... Cannot get a text value from a numeric cell java.lang.IllegalStateException: Cannot get a text value from a numeric cell How can I solve this problem? <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema

Access report field truncating at 255 characters

荒凉一梦 提交于 2019-12-11 08:22:55
问题 I have a report whose record source is a query, say qryRecords. In the report header I want to add a lengthy notes field (longer than 255 characters). I have set up a table to hold these notes (with a field type "memo"), and because that table is separate from the record source for the report, I was going to put the Notes field in the report using VBA code. In the open event of the report, I have added this code: Dim rst as Recordset Dim sql_qry as String sql_qry = "SELECT notes FROM tblNotes

SSRS Show Textbox on last page separately

天大地大妈咪最大 提交于 2019-12-11 08:22:06
问题 I need to display a Textbox in the body of the report, but it has to be on a separate last page. It is actually a Word file that needs to be shown in each report, but seeing as how the only way to accomplish this is to put the file to the Report Server and then access it with a link, I decided to copy the contents of the file to a Textbox. This and this question on SE are similar, however it is not exactly what I need. 回答1: You can achieve this by adding items with appropriate page breaks to