report

Access: Canceling Report generation causes error 2501

送分小仙女□ 提交于 2021-02-10 19:51:56
问题 can't believe I am losing so much time on this one. I have an order form, and when I click on a button "reports", a dialog pop ups with a list of different reports to chose from. Double-clicking selects and starts the correspondent report. On one of these reports, there is an unbound text box I need the user to enter data with. The ControlSource of this field is set to its Name property. When the report is started, an input box appears with an OK and a Cancel button. Whenever I enter some

Microsoft Graph API call getOffice365ActiveUserDetail fails with HTTP 403

陌路散爱 提交于 2021-02-10 15:48:27
问题 I try to call Microsoft Graph APIs reports call: https://graph.microsoft.com/beta/reports/getOffice365ActiveUserDetail(period='D7') But it fails with error HTTP 403. Is there a way exists to overcome this? 回答1: With Microsoft Graph explorer i can repro the issue with the same API call. HTTP 403 is forbidden error. It tells that you're not allowed or dont have permission to call the API. Make sure you have necessary permissions. Tried updating the permission "Reports.Read.all", with admin

Creating an rdlc report with multiple tables (one-to-many relationship)

南楼画角 提交于 2021-02-08 13:10:30
问题 So, I'm new to rdlc (and reporting in general actually). I have a table that has a one-to-many relationship with another table, and I'm trying to represent them in an rdlc report as multiple tables for each item . Note: The tables are originally created using Entity Framework code-first . Here are the two tables (and the parent one) : Now, normally if I only have the [Quotation] and some [QuotationItem] s, I'd just add the info from the [Quotation] on the top of the report, and the info from

Creating an rdlc report with multiple tables (one-to-many relationship)

心不动则不痛 提交于 2021-02-08 13:04:25
问题 So, I'm new to rdlc (and reporting in general actually). I have a table that has a one-to-many relationship with another table, and I'm trying to represent them in an rdlc report as multiple tables for each item . Note: The tables are originally created using Entity Framework code-first . Here are the two tables (and the parent one) : Now, normally if I only have the [Quotation] and some [QuotationItem] s, I'd just add the info from the [Quotation] on the top of the report, and the info from

Oracle SQL Cross Tab Query

左心房为你撑大大i 提交于 2021-02-08 07:28:41
问题 I have a table which has the following structure and sample data: ITEM LOC STOCK 0001 KS5 10 0001 KS6 30 0002 KS5 10 0002 KS6 20 I need to query cross tab so that I get ITEM KS5 KS6 0001 10 30 0002 10 20 The LOC (KS5 and KS6) can vary and new locations can be added. How can I get the desired result? 回答1: For dynamically generated results you need some dynamic PLSQL solution, something like this procedure creating view v_list_loc : create or replace procedure p_list_loc is v_sql varchar2(32000

increase the width of a column dynamically in jasper reports in java

好久不见. 提交于 2021-02-07 20:47:35
问题 How do i increase the width of a column in jasper reports dynamically in java, i have tried changing many things in java side like reading the style sheet and changing the values. But in this case i don't know how to initialize the method which will read the width and change it. 回答1: Lets say your report variable is called jasperReport JasperReport jasperReport; You need to get the band (JRBand) your column is in. Assuming it is in the detail band: JRBand band = jasperReport.getDetail(); And

increase the width of a column dynamically in jasper reports in java

北城余情 提交于 2021-02-07 20:43:39
问题 How do i increase the width of a column in jasper reports dynamically in java, i have tried changing many things in java side like reading the style sheet and changing the values. But in this case i don't know how to initialize the method which will read the width and change it. 回答1: Lets say your report variable is called jasperReport JasperReport jasperReport; You need to get the band (JRBand) your column is in. Assuming it is in the detail band: JRBand band = jasperReport.getDetail(); And

increase the width of a column dynamically in jasper reports in java

a 夏天 提交于 2021-02-07 20:40:49
问题 How do i increase the width of a column in jasper reports dynamically in java, i have tried changing many things in java side like reading the style sheet and changing the values. But in this case i don't know how to initialize the method which will read the width and change it. 回答1: Lets say your report variable is called jasperReport JasperReport jasperReport; You need to get the band (JRBand) your column is in. Assuming it is in the detail band: JRBand band = jasperReport.getDetail(); And

How to automate tests for reports in SSRS

断了今生、忘了曾经 提交于 2021-02-06 10:21:34
问题 My current project uses SSRS as the reporting engine. I have the report executing a text command with about 10 variables passed to it. I have been looking for a solution on how to unit test (acceptance or integration, whatever, just some automation) to an SSRS report project. I thought about using this method: Move the SQL text command to a stored procedure Create a Reports.Tests project Create a project_tests database and point the connection string to this database Set up my unit test

How to automate tests for reports in SSRS

…衆ロ難τιáo~ 提交于 2021-02-06 10:21:17
问题 My current project uses SSRS as the reporting engine. I have the report executing a text command with about 10 variables passed to it. I have been looking for a solution on how to unit test (acceptance or integration, whatever, just some automation) to an SSRS report project. I thought about using this method: Move the SQL text command to a stored procedure Create a Reports.Tests project Create a project_tests database and point the connection string to this database Set up my unit test