Report Query wizard error (in Shared Components)

I have been following the <a target="_window" href="http://www.oracle.com/technology/products/database/application_express/howtos/howto_master_detail_pdf.html">How-To Create a Master-Detail PDF Report</a><br>
<br>
I'm using Apex 3.01 and Firefox 2.0.0.7<br>
<br>
When I have to create a Report Query in the shared components, I get through the wizard to the Create Report Query Layout page and for some reason, the Previous and Next buttons don't work. The only button that works is the Cancel button.<br>
It seems to happen after I've downloaded the sample XML file from that page.<br>
I've also noticed this happens when you go in to edit an existing Report Query and take a download of the XML...<br>
On closer inspection it seems to be the buttons that have onclick="javascript:doSubmit..." behind them that don't work. Buttons with javascript:confirmDelete seem to still be active and work ok.<br>
<br>
But, the problem doesn't happen in IE7.<br>
<br>
I found this happened on both my local installation and on my apex.oracle.com instance.<br>
<br>
Has anyone else had this behavior or is this some dodgy local setting I have wrong?<br>
<br>
Gus..<br>

Hi,
This is posted in the wrong forum. This forum is for Oracle Berkeley DB. Please find the correct forum and post your question there.
Regards,
Alex Gorrod,
Oracle Berkeley DB

Similar Messages

  • Query to list out shared components and page number that used them

    Hi all,
    I created report queries and report layouts under apex shared components for BIP printing purpose. To match them correctly, I always make sure query and layout files have the same name.
    But as the nubmer grew, I like to know if there is a systematic way to query out the queries and associated layout files plus the page number that have print buttons point to these shared components. Can you help ?
    Thanks
    Munshar

    Hi Munshar,
    you can use APEX Views to query this information.
    To get an overview on what Views are available go to Application Builder and choose "APEX Views" from the right sidebar.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

  • Query Wizard error

    In the dimension tab of the query wizard, I try to select all of members of a particular dimension and I get the following error. Any help would be much appreciated.
    Regards,
    Dan
    oracle.express.ExpressServerExceptionError class: OLAPI
    Server error descriptions:
    DPR: Unable to create server cursor, Generic at TxsOqDefinitionManager::createCursorManager
    OES: ORA-00920: invalid relational operator
    , Generic at TxsRdbOCIConnection::execStmt
         oracle.express.olapi.data.full.ExpressSpecifiedCursorManager oracle.express.olapi.data.full.DefinitionManager.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification)
         oracle.olapi.data.source.SpecifiedCursorManager oracle.express.olapi.data.full.ExpressDataProvider.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[])
         oracle.olapi.data.source.SpecifiedCursorManager oracle.olapi.data.source.DataProvider.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification)
         oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[] oracle.dss.dataSource.QueryUtilities.setUpCursors(oracle.dss.dataSource.SourceTemplate[], oracle.dss.dataSource.common.CubeCursor[], oracle.olapi.data.source.Source[], oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[], boolean, boolean, boolean, boolean)
         

    9.0.1 with DB patch 9.0.1.3, olap patch 9.0.1.2.1 on Win2K.
    Jdev 9.0.2.822 on Win2K.
    I agree with the other guy, its when the dimension has many members in the available list.
    Regards,
    Dan

  • Passing Parameters to a report query

    I have built a report query, the query has 3 parameters.
    select * from EMP_DETAIL
    where
    emp=:EMPP
    and loc=:LOCP
    and seq=:SEQP
    When I test the query, enter the parameters manually, it renders and I get my report.
    When I add this layout to a standard on screen report region, I can not figure out how to pass the column values to those parameters.
    I'll try to explain. I have a report
    SELECT * FROM EMP
    The users can filter the report down, then when they find the emp they want, I have created a report link that is supposed to run the detail query and have the detail report come up in a PDF.
    So lets say they choose employee 0009, the columns have the :LOCP and the SEQP
    I want the report query for the PDF print to be filled in and the report rendered and printed. Like I said, I can test the report query/layout from the shared components section but I can not get the column values of say #EMP#,#LOC#,#SEQ# passed to the report.
    When I click the report, it appears to run forever. I do not know what is being passed to the report query.

    Starting to wonder if my question doesn't make sense.
    Does not seem to be something that hard.
    I have a APEX 3.0 stored report query and layout loaded via the shared components section. The stored report accepts 3 parameters.
    I have an employee report region (Select * from emp) and I have a derived link column that has a pretty picture in it. What I want to happen is when the users naturally migrate towards the bright colors on the screen in front of them and peck away at the mouse button, the values of the corresponding 3 columns are passed to the stored report and the report is ran and a PDF pops up and surprises the little buggers... sorry users that they actually managed to do something other than whine.
    Ideas, any takers?
    Maybe I will have to start a new thread with subject of
    "PLZ HELP MZ URGENT!!!!!! PLZ PLZ "
    or
    "ORACLE IS STUPIDO!!!"
    Those seems to get a lot of replies, some even helpful :)

  • Shared Components APEX Report Query and Layout

    Does anyone know how to call the report query and layout from the Shared components section from a page within the application?

    mtbdude40 wrote:
    What I need is this:  The ability to create a PDF report with a custom header defining the data (example - select * from emp where deptno = :deptno and the header includes the department name).
    I use this white paper as my source:  http://www.oracle.com/technetwork/developer-tools/apex/learnmore/custom-pdf-reports-1953918.pdf
    You need to build and use a Shared Resource -> Report Queries.
    The Report Query will have two queries associated with it (see below).
    one query will be for the header information, the other will be for the data.
    use the "download" of the "xml data" as your source for Altova/other tools.
    If you add/remove/change queries, You'll have to redo your report (from scratch) as that changes the XML Schema required. (at least, with my experience)
    Once you get the hang of it, 2x queries is easy (Header, data)
    I've experimented with 3x queries (header, master,details) but have been unsuccessful.  I have some ideas though ("link" master->detail info via XPath stuff within Altova) but haven't gotten around to testing it.
    If you want to run the report for multiple departments....That might require some finesse.
    Unfortunately, the Source of the Queries can't be a scalar SQL that returns 1 row of 1 column of data type XMLType....
    MK

  • Ora-06502 pl/sql numeric or value error in Report Query in oracle apex

    Hello all,
    I need your help...
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I am using bi publisher to generate PDF reports in oracle apex.
    We were using APEX 4.0 and migrated to 4.2 just a week ago.
    Now we have apex 4.2.
    When I try to Create report query,
    Shared Components >> Report Queries then create.
    and test a report in a create wizard I am getting a error "ORA-06502: PL/SQL: numeric or value error: character string buffer too small".
    I have also applied a patch "16760897".
    This issue is because of number of columns in a query is more then 26.
    If I run a report with 26 or less number of columns then the is working fine, otherwise getting this error.
    My before migration report queries working perfectly even now, but not new queries.
    This issue is also in apex.oracle.com.
    You can see
    Not working  - http://apex.oracle.com/pls/apex/f?p=619:4
    Working - http://apex.oracle.com/pls/apex/f?p=619:2:
    Please give a solution.
    Thanks you.

    check the DB version compatibility with apex 4 or your DB version to apex 4.0 support for upgrade!
    Oracle Application Express Installation Requirements for 4.0

  • BI Publisher Report Query Error: "character string buffer too small"

    Using apex.oracle.com, I am trying to make a Report Query (Shared Components > Report Queries) based on many columns (around 60).
    When I enter my SQL in the "Source Query" Text Area and then click Test Report I get the following error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small In order to try to make the simplest test case possible for this, I then tried entering SQL selecting just from DUAL.
    The following SQL fails with the error mentioned above.
    SELECT
    'wibble' as a
    ,'wibble' as b
    ,'wibble' as c
    ,'wibble' as d
    ,'wibble' as e
    ,'wibble' as f
    ,'wibble' as g
    ,'wibble' as h
    ,'wibble' as i
    ,'wibble' as j
    ,'wibble' as k
    ,'wibble' as l
    ,'wibble' as m
    ,'wibble' as n
    ,'wibble' as o
    ,'wibble' as p
    ,'wibble' as q
    ,'wibble' as r
    ,'wibble' as s
    ,'wibble' as t
    ,'wibble' as u
    ,'wibble' as v
    ,'wibble' as w
    ,'wibble' as x
    ,'wibble' as y
    ,'wibble' as z
    ,'wibble' as ab
    ,'wibble' as ac
    ,'wibble' as ad
    ,'wibble' as ae
    ,'wibble' as af
    ,'wibble' as ag
    ,'wibble' as ah
    ,'wibble' as ai
    ,'wibble' as aj
    ,'wibble' as ak
    ,'wibble' as al
    ,'wibble' as am
    ,'wibble' as an
    ,'wibble' as ao
    ,'wibble' as ap
    ,'wibble' as aq
    ,'wibble' as ar
    ,'wibble' as at
    ,'wibble' as au
    ,'wibble' as av
    FROM dualRemoving the last column from this SQL query (bringing the total number of columns down to 45) as follows and then clicking "Test Report" works successfully.
    SELECT
    'wibble' as a
    ,'wibble' as b
    ,'wibble' as c
    ,'wibble' as d
    ,'wibble' as e
    ,'wibble' as f
    ,'wibble' as g
    ,'wibble' as h
    ,'wibble' as i
    ,'wibble' as j
    ,'wibble' as k
    ,'wibble' as l
    ,'wibble' as m
    ,'wibble' as n
    ,'wibble' as o
    ,'wibble' as p
    ,'wibble' as q
    ,'wibble' as r
    ,'wibble' as s
    ,'wibble' as t
    ,'wibble' as u
    ,'wibble' as v
    ,'wibble' as w
    ,'wibble' as x
    ,'wibble' as y
    ,'wibble' as z
    ,'wibble' as ab
    ,'wibble' as ac
    ,'wibble' as ad
    ,'wibble' as ae
    ,'wibble' as af
    ,'wibble' as ag
    ,'wibble' as ah
    ,'wibble' as ai
    ,'wibble' as aj
    ,'wibble' as ak
    ,'wibble' as al
    ,'wibble' as am
    ,'wibble' as an
    ,'wibble' as ao
    ,'wibble' as ap
    ,'wibble' as aq
    ,'wibble' as ar
    ,'wibble' as at
    ,'wibble' as au
    FROM dualSo the question is: Is there a hard-coded limit of 45 columns for a Source Query? Or is there something else causing this error message?
    (For information in the above example I have "Use Generic Report Layout" selected and the output format set to "PDF")
    Thanks very much in advance for any comments or suggestions,
    Andy

    Thanks for the suggestion Simon.
    I just created a view based on the 46-column SELECT statement from dual above and then set "SELECT * FROM myview" as the Source Query.
    Unfortunately I get exactly the same error.
    Thanks,
    Andy

  • Report query XML schema error - Apex Listener 2

    I built a simple query: select * from emp in (Shared components > Report Query)
    When I try to download XML schema for this query (Source Query section) resulting xsd file contains this text: String index out of range: -1
    Shared Apex hosting: 4.2.2.0.0.11
    Print server: Apex Listener 2.0.1

    Hey Saymonc, we're you ever able to find the cause of this issue?  I'm having this happen to me as well.  When I begin using the Report Query functionality, the schema downloaded just fine.  I made an update to a query and began receiving this error.  Now I get the error for ALL of my report queries.  I tried removing them and recreating them, and I continue to receive this error in my schema file, no matter how simple the query.  The data will download just fine, and using the Test Report button works as well.
    Thanks,
    Chris

  • Issue with Shared Components - Report Layouts Download

    After my isp provider upgraded from APEX 3.2.1 to 4.0, I am now unable to go into the Shared Components -> Report Layouts section and access an existing report to download my rtf template. Is there another way to go and get this out of the database. I need to update a report layout that is old and I do not have a backup of the original report and do not want to spend the time to recreate.
    Thanks,
    Mark

    If you have TOAD, or if you can install it, by connecting to your database you will be able to access your report layout via the Schema Browser. The whole path should be "All Schemas -> APEX_040000 -> Tables -> WWV_FLOW_REPORT_LAYOUTS". In that table you will find you report layout. Double click on it and copy/paste it into a text editor.
    Note: You might need to be granted some rights to access the 400+ tables of the APEX_040000 schema. Or if you have a DBA, ask him to do this for you.
    Of course, if you don't want to install TOAD, I bet you could query that table from the SQL Commands of the SQL Workshop, but you would again need the rights to access said table.
    Best regards,
    Mathieu

  • Setting a bind variable in a Shared Component Report Query

    I have defined a Shared Component Report Query in APEX using a bind variable similar to below
    Select name, id , ....
    from asset
    where id = :id
    I have also created a Report Region that displays a table where one of the columns contains a value I would like to be a link column that can launch the Report Query and pass its value to the bind parameter :id in the report query. This in turn would generate a pdf report for the details associated with that column. I am having problems setting the :id bind parameter. How do I do this?
    Can anyone help?
    Thanks

    The bind values are set from session state. So if try something like this:
    Select name, id , ....
    from asset
    where id = :P1_ID
    With P1_ID being a page item, for which you set the session state / value before generating the PDF file. So assuming you already have a page with a report and a page item, and that page item is already used in your report, then you could just create a button to download the PDF, make sure the button is a submit button, and create a branch pointing to the report query URL (or in 3.1 use the create button wizard, to do this declaratively.)
    Regards,
    Marc

  • Crystal Reports 10 Error "Unknown Query Engine Error"

    Hi guys,
    after creating reports with crystal reports 2008 fails,because there's no 64-bit runtime version i try to develope my reports now with Crystal Reports 10 (ships with Visual Studio 2008).
    I've minimized the complexity to a minimum - a simple console application without SharePoint or something like that. Now i'm getting the error:
    "Unknown Query Engine Error"
    when i try to set the DataSource for my report. Of course i created a new report file with CR10 to avoid compatibility issues. Every Users has full permissions on the file system...
    I'm using the follwing Code Snippets, which are working fine for Crystal 2008 and don't threw an error while compiling in CR10.
    Schema.xsd:
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema id="XMLSchema1"
        targetNamespace="http://tempuri.org/XMLSchema1.xsd"
        elementFormDefault="qualified"
        xmlns="http://tempuri.org/XMLSchema1.xsd"
        xmlns:mstns="http://tempuri.org/XMLSchema1.xsd"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
    >
      <xs:element name="News">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Title" type="xs:string" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    ConsoleApplication.cs:
                MyReport report = new MyReport();
                DataSet ds = new DataSet();
                DataTable t = new DataTable("News");
                DataColumn title = new DataColumn("Title");
                title.DataType = Type.GetType("System.String");
                t.Columns.Add(title);
                ds.Tables.Add(t);
                DataRow drDataRow;
                drDataRow = t.NewRow();
                drDataRow["Title"] = "My Title";
                t.Rows.Add(drDataRow);
                * //Error is thrown here*
                report.SetDataSource(ds);
                string filename = "C:\\report.pdf";
                report.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat,
                     new System.IO.FileInfo(filename).ToString());
    Does anyone have an advice: Do i miss a patch or hotfix? These problem frustrates me already, because i thought setting a datasource couldn't be such a problem...
    Thanks in Advance,
    Christian

    Resolution:
    This Version of Crystal Reports (Visual Studio 2008 .Net) doesn't want the crdb_adoplus.dll in the GAC. After i uninstall the *.dll the Console Application run without problems. For SharePoint you have to create a custom CAS which should look like this:
    <CodeGroup
                                  class="UnionCodeGroup"
                                  version="1"
                                  PermissionSetName="FullTrust"
                                  Name="Crystal_Strong_Name"
                                  Description="This code group grants code signed with the Crystal Reports strong name full trust. ">
                                <IMembershipCondition class="StrongNameMembershipCondition"
                                                      version="1"
                                                      PublicKeyBlob="0024000004800000940000000602000000240000525341310004000001000100f1191170c753924fe8b624c15216d8d4869e4f37d0e7941b77c05c67ba0662a7ad9099e1041739a3b1f33255c4f8c878649a558b7aaef8e08c7ce3edc2275cbda2608381813fc038db8e5792a729658c59e73121691f22197aa92c7e715d7dfdbb2730b037ccdfcd2708fbfc8c9a1a60be50c635975afce4e4b1e3e12613cfc2"
                                                      />
    Well - CR drives me crazy
    Edited by: C.Kaiser on Oct 14, 2010 4:36 PM

  • Translate report layouts (Shared Components)

    Hi,
    I create in my application PDF using shared components (Report Queries and Report Layouts) and the BI Publisher. The queries I have deposited in Report Qieries and templates in report layouts. The call is done via the URL (which appears in the report query). Now I have translated my application and see that the titles of my templates are not visible with the xlife file. How can I translate the report layout from the Shared Components.
    Thank you in advance for your support.
    Ines

    Sruthi Tamiri wrote:
    1. Apex version#3.2
    Out of date and unsupported...please consider upgrading.
    2. IE# 6+
    Are you really still trying to support IE6?
    When i clik on that specfic tab which is time causing, in that screen contains
    1. Popup screens
    2. Text items
    3. List items
    We have tried to this option from toad to check which Query is cauisng the problem, but nothing query is running in back end to tarce what could be exact problem
    In toad#9.2 version we have option as Database->Monitor>Session Browser [where we can see which query is running under specfic session]
    To establish exactly where time is being spent, use Debug mode to identify APEX or database issues, and timeline/profiling developer tools in the browser to check for network or JavaScript problems.
    What web server are you using? If you're using EPG check the SHARED_SERVERS configuration.

  • Bind Variables and Shared Component Report Query

    I have a query in a region report which I have replicated to a shared component report query.
    Both queries reference page items as bind variables in the where clause.
    The report region on screen shows the correct results but the report query shows "no data". This is the case when running "Test Query" and "Download XML data" from the shared component report query definition. If I hardcode the variable names I get rows returned, If I use bind variables - and specify the values for these variables I get no data. THe XML file contains the tags for each bind variable I have specified but has no data between the tags. I have Ticked the box to include application and session state but it appears that the bind variables are not being used.
    When I use my report query in the application (URL tied to a button) I get the same problem, the binds are not being passed to the report query.
    Can someone please clarify if this is a bug or not? And if not, how can I get it to work.
    I am using Apex 4.0.2
    Thanks
    Kathryn

    Hi
    To confirm, yes I selected the bind variables. I used these in the report layout, but the xml file has them as empty i.e.
    <P0_START_DATE><P0_START_DATE/> with nothing in between.
    IN the Test Query section, if I put real values in the boxes for the bind variables, I get no data found. If I hardcode the values into the query, I get the data.
    I've repeated the create report query many times and have created a report layout in RTF. I can use the layout with my region - in the print attributes and the layout works with the query but I need to create a PDF using 2 queries - ROWSET1 and ROWSET2. I can generate the XML but the values in the rows are all empty. When I use the layout with a report query instead of the region, I get no data even though I have used the same sql and have selected the bind variables. I was using variables from page items on page zero but have also tried using page items on the current page, the result is the same.
    I need to use a report query and a report layout as I need data from 2 queries in the PDF.
    I looked at your demo - what happens if you add a second sql query to the report query - is there any chance I can look at the back end (developer access?)
    Thanks for your input
    Kathryn

  • Crystal Report Many to One Query Config error when using DataSet.ReadXML me

    When I build a dataset with this method numerous relations are automatically created. I then map these fields onto crystal reports with ADO.net data connection. However when I run the report the following error occurs:
    CrystalDecisions.CrystalReports.Engine.InternalException: Cannot determine the queries necessary to get data for this report.Details:
    This query cannot be performed. The link order requires many to one query configuration, which is not supported. Please rearrange the links.
    If I remove the links (relations) i get duplicate data on the report. Is there any way to resolve this or a patch for the error?

    Hello, Mervin;
    Since you are using ADO.NET dataset, is it possible to get all of the fields you need in one SQL Query outside of Crystal Reports?
    If that is possible, you can use that dataset to create an XML or XSD file to use as the structure for your report.
    VB
    'Using the full path to the .xml file, include the schema
    dataSet.WriteXml("C:\temp\test.xml", XmlWriteMode.WriteSchema)
    or
    dataSet.WriteXmlSchema("c:\temp\testXML.xsd")
    Now create a new report with the ADO.NET(XML) connection and point to either the XML or XSD you created. XML is useful because you can view data in the report designer for final formatting of the report.
    Now there is only one datasource and no linking is required in Crystal Reports. That should resolve the one to many issue.
    Another useful tool is to group on the many and place all the fields normally in the detail section into that group header. Suppress the Detail and Group footer sections. The Group Header will now look like a Detail section and each distinct value will only appear once. You can group on one field or a combination (using a formula field) to get the results you need. Test this to be sure you do not miss anything you want to see.
    Elaine

  • Direct Link to Report layout in Shared Components

    Is it possible to put a link on my page that goes directly into the Shared-Components- Report Layouts? I do'nt want my developer users to have to open up the builder to create/upload new (.rtf) Report Layouts.

    Yeah
    It's
    http://host:port/pls/apex/f?p=4000:1400:&APP_SESSION.With the normal substitutions for your setup and removing pls if your using EPG.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

Maybe you are looking for

  • How can I  make my own design for a web page instead of using a template?

    Need to ask the question again. I tried using the blank template, but could not get it to work. I could not insert images and copy where I wanted and in size I wanted.

  • Is there nothing between iTunes 10.3 and iTunes 10.5?

    I can't access the iTunes store, it is stuck on the download iTunes 10.5 page and I am running os10.4.11 so I can't.

  • Undo/Redo

    Hi.. How to implement undo/redo functionality? Actually I have a painting canvas in flash in AS3.0. For it I need UNDO/REDO functionality as user draws. Any Clue. Thanks.

  • How do you edit the 'About this mac' window?

    Hi, I need to edit the about this mac window - pictured here to remind you of what exactly it is ( http://www.pluggedinmac.com/Picture%201.jpg )- in order to further my understanding of how this aspect of Macintosh works. I will be extremely greatful

  • Ni 9263 default signals on device memory underflow

    Hi I am working with the 9263 Analogue Voltage Output Module. There one has to serve the output buffer with data. If this is not done periodically, a buffer underrun error occurs (error code -200621). Well since we are serving the module from a deskt