APEX Export Report running query again

Greetings all!
Version -
Oracle 11.2
Apex 4.1
We have an Apex report that is generated by calling a function. After the report is displayed in the region, when Export link is clicked to export to CSV, the query is run again. Shouldn't the report be exported without running the query again?
Is there any settings that needs to be configured to disable running the query again while exporting a report or is it APEX issue?
Thanks in advance.
-SS.

An export of a report is a separate request and it will need to get the data requested and create a CSV file out of it. So, the query will always need to run once again. The report you display on your page will always get only as many rows to the client as requested in the pagination and the condition in your report may ask for many more rows.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
http://apex.oracle.com/pls/otn/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
-------------------------------------------------------------------

Similar Messages

  • Export reports in query ready mode

    Hi,
    Is there a way hide hidden rows when you export a financial report in query mode. Currently all hidden rows are getting displayed.
    Thanks in advance.

    I don't think you can do that in query mode. Query mode pulls all the hidden rows and columns. It'll be hidden in fully formatted mode.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Crystal Report Instance - running query when viewing?

    Hi
    Why would a Crystal Report that was scheduled and completed success fully try to run the query again when I click on the instance?  Isn't it just suppose to render the report when one clicks on the instance?
    Thanks
    Kim

    i think its as i told you before, its something related with the parameters, you can have multiple instances with different parameter values.
    and there is many other technical issues, i dunn know if you read about it or not you can revise back the Crystal Report user guide
    you can get it from here
    http://help.sap.com/content/bobj/overview/index.htm
    good luck

  • Hyperion Workspace Financial Reporting Export to Excel Query-Ready Missing

    Hyperion Workspace Financial Reporting Export to Excel "Query-Ready" option is Missing in the dropdown when you go to File>Export>Excel
    Only the "Fully Formatted" option is available.
    From what I recall this option for a "query-ready" export should be available from the HTML preview?
    Is there something in configuration that needs to be enabled or something that needs to be checked on to get this option?
    We are running 11.1.1.3
    The Query-Ready option is available when exporting forms in Planning.
    When opening Financial Reports in Smartview the option for "Query-Ready" is available.
    For some reason this is not showing up in workspace, does it not exist in 11.1.1.3? Is this a bug?
    TIA

    Hi,
    The option to export the financial report output in "Query-Ready" format is actually at the bottom right hand corner of the report page (look at the report footer) instead of File>Export>Excel.
    Hope this helps
    Genti

  • What grants needed to run APEX Object Reports?

    APEX 3.0
    Oracle 9.2.0.7
    Solaris 8
    The Apex workspace administrator account is unable to run the APEX Object Reports.
    The returned error states the account has no privileges on the APEX_MYAPP schema.
    What grants are needed for running the APEX Object Reports, and on what objects?
    Thank you.

    Yes, the "APEX_MYAPP" was a generic name. The error message actually mentions "APEX_IARS". I began by trying to limit the details of our installation. Just confused things.
    There are two other workspaces defined: another application-building workspace, "comres_ws", and one called "APEX_SAMPLE_APPS".
    The apex_iars workspace had two schemas assigned to it: iars and comres.
    The comres_ws workspace has just one schema assigned to it: comres.
    Thinking that for some reason the association of two schemas to the apex_iars workspace might be causing a problem -- although it has not in the past, I deleted the association of the comres schema from the apex_iars workspace so that now each workspace, the apex_iars workspace and the comres_ws workspace, just have a single schema. This did not fix anything with the apex_iars workspace. The "privileges" error still occurs.
    I logged onto the comres_ws workspace and tried to access the Utilities/Object Reports, and the SQL Commands, and all this works fine, no errors at all.
    I then logged onto the apex_iars workspace again and tried the Object Reports and SQL Commands and still get the error:
    ORA-20000: User <my_use_name> rhas no privileges on the apex_iars schema.
    Does it look like something is messed up for the apex_iars workspace? Are there APEX dictionary tables that may have incorrect or corrupt information for this workspace?

  • APEX BUG in export report region  to CSV

    Upgraded to APEX 4.1 but I have the same problem !!!!
    any help ????
    regards
    saverio
    ==============================================
    Hy all,
    I have a Classic report based on a PLSQL function returning SQL query. (APEX 4.0)
    The query is like this (it is just an example; at the bottom of the post I attach my real query)
    select * from (select c1,c2,c3
    from table1
    where c1 in (select c from table2 where ct2 = :P0_ITEM1)
    where instr(upper(c2),upper(nvl(:P5_REPORT_SEARCH,"c2"))) > 0
    where P0_ITEM1 is an item in page 0 and P5_REPORT_SEARCH is an item in my page (where I have the report) used to "filter" the rows.
    The report is OK; it is correctly displayed and the number of rows are correct (filtered by the where clause)
    but when i try to export it to CSV i get a wong number of rows.
    It seems that the where conditions (both) are NOT applied and in the CSV file I get all the rows of my table1.
    The report have 2 break colum (c1 and C2).
    Any idea of what is wrong ?
    regards
    saverio
    =============================
    My real query is that:
    declare
    q varchar2(4000);
    w varchar2(4000);
    w2 varchar2(4000);
    begin
    q:=' select * from (select "COSTIFISSI_COMMESSE"."ANNO" as "ANNO",';
    q:=q||' "COMMESSE"."CODICE" as "CODICE",';
    q:=q||' "CLIENTI"."DESCRIZIONE" as "NOME_CLI",';
    q:=q||' "COMMESSE"."CODICE_COMFME" as "CODICE_COMFME",';
    q:=q||' "COSTIFISSI_COMMESSE"."CODICE_COMF" as "CODICE_COMF",';
    q:=q||' "COSTIFISSI_COMMESSE"."M01" as "M01",';
    q:=q||' "COSTIFISSI_COMMESSE"."M02" as "M02",';
    q:=q||' "COSTIFISSI_COMMESSE"."M03" as "M03",';
    q:=q||' "COSTIFISSI_COMMESSE"."M04" as "M04",';
    q:=q||' "COSTIFISSI_COMMESSE"."M05" as "M05",';
    q:=q||' "COSTIFISSI_COMMESSE"."M06" as "M06", "COSTIFISSI_COMMESSE"."M07" as "M07",';
    q:=q||' "COSTIFISSI_COMMESSE"."M08" as "M08", "COSTIFISSI_COMMESSE"."M09" as "M09",';
    q:=q||' "COSTIFISSI_COMMESSE"."M10" as "M10", "COSTIFISSI_COMMESSE"."M11" as "M11",';
    q:=q||' "COSTIFISSI_COMMESSE"."M12" as "M12", "COMMESSE"."AREA" as "AREA", ';
    q:=q||' nvl(m01,0)+nvl(m02,0)+nvl(m03,0)+nvl(m04,0)+nvl(m05,0)+nvl(m06,0)+nvl(m07,0)+nvl(m08,0)+nvl(m09,0)+nvl(m10,0)+nvl(m11,0)+nvl(m12,0) as Tot_Anno';
    q:=q||' from "CLIENTI" "CLIENTI", "COMMESSE" "COMMESSE", "COSTIFISSI_COMMESSE" "COSTIFISSI_COMMESSE" ';
    w:=' where "COSTIFISSI_COMMESSE"."CODICE_COMR"="COMMESSE"."CODICE" and     "COMMESSE"."COD_CLIENTE"="CLIENTI"."CODICE_SIAL"';
    if :P0_RUOLO ='SM' then
    w:=w||' and codice in (select codice from commesse where sm in (select matricola from lavoratori where upper(uid_ldap)= '''||upper(:APP_USER) ||''' ))' ;
    elsif :P0_RUOLO ='AREA' then
    w:=w||' and codice in (select codice from commesse where area = '''||:P0_AREA||''' )';
    elsif :P0_RUOLO ='ADM' then
    null;
    end if;
    w:=w||')';
    w2:=' where ( ';
    w2:=w2||' instr(upper("AREA"),upper(nvl(:P5_REPORT_SEARCH,"AREA"))) > 0 or ';
    w2:=w2||' instr(upper("CODICE"),upper(nvl(:P5_REPORT_SEARCH,"CODICE"))) > 0 or ';
    w2:=w2||' instr(upper("NOME_CLI"),upper(nvl(:P5_REPORT_SEARCH,"NOME_CLI"))) > 0 or ';
    w2:=w2||' instr(upper("CODICE_COMFME"),upper(nvl(:P5_REPORT_SEARCH,"CODICE_COMFME"))) > 0';
    w2:=w2||' )';
    q:=q||w||w2;
    return q;
    end;
    Edited by: tirone on 9-giu-2011 23.44
    Edited by: tirone on 29-giu-2011 9.15
    Edited by: tirone on 27-ott-2011 5.15
    Edited by: tirone on 2-nov-2011 6.53

    thanks for your answer,
    but my problem is that I get (only in the CSV file) a superior number of lines to how much I expected me, NOTsuperior.
    Aniway i set the maximum row count in report attributes to 50000, but the problem is not solved.
    regards
    saverio

  • Exporting report as PDF and CSV formats same time with out executing DB query twice

    Post Author: cpriyanka
    CA Forum: Exporting
    I am using Crystal Report 9.0 version and Java.
    I am getting "PrintOutputController" from "ReportClientDocument"
    And then by calling export(ReportExportFormat.PDF) generating PDF format report.
    Now I need to generate both PDF and CSV format files same time. How can it be done?
    My understanding is when we call "export" it does the DB query execution and other functionality.
    In that case, if I call "export" two times with two different formats, then DB query will be executed twice and that takes lot of time.
    To avoid, is there a way I can all some API so DB query executed once, but I can export report in to multiple formats?
    I appreciate your help.
    Thanks.

    Post Author: cjmorris1201
    CA Forum: Exporting
    Hello,
    Are you using the "pull" or "push" method for your crystal reports?  If you are using the "pull" method (the report itself executes the sql) then I believe there is no way around having the query execute twice since it is fired off each time you open and export the report.
    If you use the "push" method, however, then you can just create the recordset/dataset and then set the datasouce once for the report.
    Here's a broad overview of push and pull though the Crystal Report Viewer is used.  The viewer may or may not be applicable in your case:
    http://aspalliance.com/265_Crystal_Report_for_Visual_Studio_NET#Page5
    Regards, Carl

  • APEX Interactive Report - CSV Export Limitations?

    Hello,
    I have an interactive report generated for some users.
    The issue I'm having right now is that the results that the users need is over 100k and the export to csv option caps out at 65,535 rows. Is this a limitation on APEX Interactive Report's side and is there anyway to get around it so we can send 100k records (or more) to the users without them splitting the report many ways?
    Thanks in advance.
    Ivan

    Ivan,
    I'm afraid that I can't answer your question. The APEX insiders will have to field that one.
    As one that dislikes voluminous reports, have tried swaying your users that you now have this great interface to drill to the data you need versus downloading gobs of data and filling up their hard drives. Ask if there is something else your application can do that they would do with all that data in Excel.
    Jeff

  • Strange problem... Query runs faster, but report runs slow...

    Hi Gurus,
    We are using Report 10g on 10g Application server and solaris. we created a report on a table which has 10,000 rows. The report has 25 columns. when we run this query in Toad it took 12 sec for fetching all these 10,000 rows
    But when we run the report with Destype = 'FILE' and Desformat = 'DELIMITEDDDATA', it is taking 5 to 8 minutes
    to open in excel ( we concatenated mimetype=vnd-msexcel at the end of the url if the Destype=FILE). We removed the layout in the report as it is taking 10 to 15 mins to run to Screen with Desformat=HTML/PDF(formating pages taking more time). We are wondering why DELIMITEDDATA format is taking long time as it runs only query.
    Does RWSERVLET take more time of writing the data to the Physical file in the cache dir? Our cache size is 1 GB. we have 2 report servers clustered. Tracing is off.
    Please advise me if there are any report server settings to boost the performance.
    Thanks alot,
    Ram.

    Duplicate of Strange problem... Query runs faster, but report runs slow... in the Reports forum.
    [Thread closed]

  • Problem with Apex layout report  XSL-FO build by bi-publisher word plug-in

    Hi all...
    this is what I should do:
    - generate a layout with bi-publisher word plug-in ---> it's ok
    - export this layout in xsl-fo stylesheet --> it's ok.
    - create an apex layout report with xsl-fo stylesheet --> it's ok.
    - create an apex query report with the above layout
    At this point when I test the report I have a corrupted pdf file....
    can you help me!!!
    Many thanks
    araf

    Hi,
    do you use BI Publisher or another XSL-FO-Engine? Is BI Publisher running? Is it configured in the instance settings?
    Regards
    Rainer

  • Data getting truncated while exporting report to a text file in crystal 10?

    Hi All,
    I am using crystal 10.When exporting report to a text file ,a dialog prompts asking for Character perinch with a default value 9.If I change the value from 9 to 16 i am getting the correct data(that means character per inch value is 16) and it update "CharPerInch" value in registry under following location to 16.
    HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\Export\Text
    The dialog asked for character per inch also has option to select not to prompt again and i also selected that in first go.
    When i export the report again in text format it didn't prompt for number of character per inch but the data gets truncated.
    What i believe is even though it updates entry in registry and reads, it is not using the same value for export. It never consider the value that is in registry, if the check box is not selected then it is using the value entered in the dialog and if the check box is selected then in the next run it uses the default value as 9.
    Can anyone suggest me how to override this problem ? Is there any other setting place in registry where i can enter the number of character per inch.I don't want to crystal to prompt always for character per inch.

    Hi Venkateswaran,
    The other option to avoid truncation of the data could be
    Right click the text filed
    Click on Format Text to open the Format Editor
    On Common tab check the text box for Can Grow.
    This will prevent the data from truncating in preview as well as while exporting to text.
    Otherwise you will have to set the characters per inch to 16 each time. I donu2019t see changing the registry value causing any difference here.
    Regards,
    Aditya Joshi

  • Error exporting report with sub report and parameters

    Post Author: joncombe
    CA Forum: JAVA
    I am using the JRC to export to a PDF file a report that has a sub report within it. Both the main and subreport connect to an Oracle database via an Oracle ODBC connection and both share a single parameter, RUN_ID. I need to set a value for the parameter in both reports. If I don't do that I get this error:-com.crystaldecisions.reports.exportinterface.exceptions.ExportException: Some parameters are missing valuesI have the following code to update the parameters in both reports.                     ParameterField thisParameter1           = new ParameterField ( );                   ParameterField thisParameter2           = new ParameterField ( );                   Values thisValue1                       = new Values ( );                   Values thisValue2                       = new Values ( );                   ParameterFieldDiscreteValue thisParamDV1= new ParameterFieldDiscreteValue();                   ParameterFieldDiscreteValue thisParamDV2= new ParameterFieldDiscreteValue();                   thisParameter1.setReportName("");                   thisParameter2.setReportName("DQA_GER_Adressverification.rpt");                   thisParameter1.setName("RUN_ID");                   thisParameter2.setName("RUN_ID");                   thisParameter1.setType(FieldValueType.numberField);                   thisParameter2.setType(FieldValueType.numberField);                   thisParamDV1.setValue(254);                   thisParamDV2.setValue(254);                   thisValue1.add(thisParamDV1);                   thisValue2.add(thisParamDV2);                   thisParameter1.setCurrentValues(thisValue1);                   thisParameter2.setCurrentValues(thisValue2);                   parameterFields.add(thisParameter1);                   parameterFields.add(thisParameter2);                  ReportStateInfo repStateInfo = new ReportStateInfo();                  repStateInfo.setParameterFields(parameterFields);                  reqCont.setReportStateInfo(repStateInfo);  With this code in place I have found that if I run using the JRC supplied with Crystal Reports for Eclipse I get the following error:-ERROR - QueryEngine error: verify database failed.ERROR - Disk Exporter: no output file was created by an exporterERROR - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting exportjava.lang.IllegalArgumentException        at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)        at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)        at com.crystaldecisions.reports.a.e.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)ERROR - Failed to export reportcom.crystaldecisions.reports.exporters.format.page.pdf.a.a: Unexpected exception thrown        at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)        at com.crystaldecisions.reports.a.e.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)Caused by: java.lang.IllegalArgumentException        at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)        ... 17 moreERROR - JRCAgent1 detected an exception: An error occured while exporting the report        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)Error exporting report : report. Error is ReportSDKException: An error occured while exporting the reportAn error occured while exporting the reportcom.businessobjects.reports.sdk.d.byte(Unknown Source)com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source) With the JRC supplied with Crystal Reports XIR2 I get this error:- INFO - PdfExporter: serializing pdf document and cleaning upINFO - Disk Exporter: verifying export to destinationERROR - Disk Exporter: no output file was created by an exporterERROR - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting exportjava.lang.IllegalArgumentException        at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)        at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)        at com.crystaldecisions.reports.a.e.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.i.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)INFO - Disk Exporter: finalizing export to destinationERROR - JRCAgent1 detected an exception: java.lang.NullPointerException        at oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java:870)        at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:811)        at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)        at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)        at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1687)        at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1653)        at com.crystaldecisions.reports.queryengine.driverImpl.o.ew(Unknown Source)        at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)        at com.crystaldecisions.reports.queryengine.ao.d4(Unknown Source)        at com.crystaldecisions.reports.queryengine.ao.f(Unknown Source)        at com.crystaldecisions.reports.queryengine.ao.dP(Unknown Source)        at com.crystaldecisions.reports.queryengine.av.if(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.if(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.do(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.try(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.for(Unknown Source)        at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.j.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.j.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.a9.if(Unknown Source)        at com.crystaldecisions.reports.dataengine.a9.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.g(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.g(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.k(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.null(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.k(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.az(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.i.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)I believe the error is that the SQL query in the main report is being updated with the RUN_ID but the SQL in the sub-report is not. I am not sure why the update to set the RUN_ID in the second SQL query fails, but it seems to me the JRC is not detecting it as a missing parameter and is passing the SQL including {?RUN_ID} to Oracle, causing the JDBC driver to fail with this NullPointerException. I think this because further up in the log I see this:-INFO - Executing query: SELECT v.* FROM v_ger_main vwhere v.run_id = 254INFO - Verifying databaseINFO - Executing query: SELECT h.* FROM v_ger_av_ls_tagging hwhere h.run_id = {?RUN_ID}ERROR - QueryEngine error: verify database failed.Both connections are from the same database, but the first has the updated value (254) whilst the second query still seems to have the parameter and so fails to verify.Can someone suggest how I can fix this problem or if I have missed something that is required?Thanks.Jon.

    Post Author: Ted Ueda
    CA Forum: JAVA
    What happens if, instead of passing in parameter field values, you pass the report source object to the viewer (ReportViewerBean for stand-alone or CrystalReportViewer for web)?  The viewer should introspect the report for the parameter fields and bring up a parameter field entry dialog box.  Does such a dialog box come up?  Is only the main report parameter field queried for, or both main and subreport paramter fields?  When you enter correct values for the field, does the report display?
    Hopefully, the above should narrow down the issue.
    By the way, JRC doesn't support ODBC connections, only Java based connectivity such as JDBC, JavaBeans and XML.  If you have a report with ODBC, then it looks for a JNDI connection with the same name.
    Sincerely,
    Ted Ueda

  • APEX Interactive Report not shown complete on production system

    Hello,
    I have a problem with my Apex 4.1.1 application on customers production server.
    On our development system (Oracle 11.2.0.3) the Apex IR with the query down below delivers 1.500 rows and the page loading is finished after 3 seconds.
    On our customers production system (Oracle 11.1.0.7) the same IR shows only the first 800 rows and then page loading runs endless. When i add a pagination with 500 rows everything works fine.
    When i execute the Query in SQL Workshop the 1500 rows are delivered on both systems within 0,4 seconds.
    What could be the problem?
    kind regards
    Stefan
    Here the source of the Interactive Report:
    select o.oid, o.obj_id, o.obj_name, f.finanzst_oid finanz_kosten_oid, 'Finanzierung' art, fst.BEZ bezeichnung, f.grundstueck_bet grundstueckskosten, f.bau_bet baukosten,f.von_datum, f.bis_datum, f.sort
    from afa_objekte o, afa_finanz f, afa_finanzst fst
    where o.aktiv is not null
    and o.oid = f.objekte_oid
    and f.finanzst_oid = fst.oid
    union
    select o.oid, o.obj_id, o.obj_name, k.kostenst_oid finanz_kosten_oid, 'Kosten' art, kst.BEZ bezeichnung, k.grundstueck_bet grundstueckskosten, k.bau_bet baukosten, k.von_datum, k.bis_datum, null sort
    from afa_objekte o, afa_kosten k, afa_kostenst kst
    where o.aktiv is not null
    and o.oid = k.objekte_oid
    and k.kostenst_oid = kst.oid
    order by obj_id,sort nulls first,finanz_kosten_oid,von_datum;

    any ideas? anyone?

  • APEX-PDF-Reports: Add ID and some more Data to the PDF-Filename

    Hi,
    I have create in APEX a Report Layout and a Report Query to export some data to an PDF-File (I am using BI Publisher).
    This works fine but now I need to add the ID and some other informations to the file-name.
    Because if the user create some PDF-Files he should be able to see, what file is for which data...
    How I can do this?
    Regards,
    Mark

    Hi Marc,
    thank you for your answer but it does not work for me.
    I have create the page process and if I click the button I have for few seconds the hour-glas. I think the BI Publisher is generating the file but I dont have a download-message and also the file is not saves automatically.
    This is my page process:
    declare
        v_filename varchar2(1000);
    begin
        v_filename := 'Checkliste_' || :P70_TECHNIK || '.pdf';
        APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT (p_file_name => v_filename,
                                           p_content_disposition => 'attachment',
                                           p_application_id      => 119,
                                           p_report_query_name   => 'Checkliste',
                                           p_report_layout_name  => 'Checkliste',
                                           p_report_layout_type  => 'xsl-fo',
                                           p_document_format     => 'pdf');
    end;I have also tried it with p_report_layout_type => 'rtf' because the layout is a rtf-file, but also no luck.
    Have you a idea why I cant download the file?
    Regards,
    Mark

  • Can Oracle APEX access/report against an Oracle9i datbase?

    Can Oracle APEX access/report against an Oracle9i datbase? I know APEX has to be installed on Oracle 11g or 12c. I have a 11g environment to install it in, but I want to have ti read data from an existing 9i databasethat we are unable to upgrade at this time.

    APEX can create reports on any data that the database (which is running APEX) can access.
    This becomes a database question that is usually found in the General forum:
    How can an Oracle 11g database access data from an <place a name of a database here> database?
    One common answers:  Database Links.
    (Materialized Views and Golden Gate come to mind... but, again... these are database problems, not APEX problems.)
    I'll let others comment on the practicality of these solutions.
    MK

Maybe you are looking for

  • Proper data download to excel

    hi all, i am getting right output.But while downloading iam not getting the data for name1 field from lfa1 table to be displayed & also while downloading the negative sign is not coming for the amount values. Modify the below code. REPORT zvenageing1

  • What other hp print drivers will work with the officejet pro 8600

    I have an Officejet Pro 8600 and like many others here, I am having a problem printing a custom size envelope (6x9). I did find that I can use the drivers for a deskjet 450 and setup  my 8600 using those drivers. However, the 450 6x9 does not have a

  • Embed font in pdf/a

    Hi everybody ! I'm working on a SAP project and i wish know how to embed a font in a pdf/a file. I can not use common methode to process it. I can not use Acrobat or Microsoft Word in order to embed fonts. Is anyone knows how can i embed fonts in pdf

  • Creating a hyperlink to send text message

    I am creating a website in iweb.  My question is: Is it possible to create a hyper link that enables visitors to my site to send me a text message? Such as: CLICK HERE TO SEND A TEXT MESSAGE FOR A QUICKER RESPONSE The visitor would click and then hav

  • Zoom in on Images

    Flash 8 Trial Mode, XP-P, Kinda new to Flash, too. I'm using the template Modern Photo Slideshow that came with the trial version. Its default stage is 640 x 480, which I need to change to 320 x 240. I know how to do that, but once I do that, does it