Regular Expression functions not supported in Interactive report filters ??

I'm using APEX 4.0.2 and I'm trying to create a row filter in an interactive report which uses regexp_instr and regexp_replace functions and I'm getting the message:
Invalid filter expression. regexp_instr
The code runs fine in SQL Workshop
select cytogenetics from z_patient
where regexp_instr(regexp_replace(cytogenetics,'(\,+|\"+|\s)',''),'(^46XX$|^46XY$|^46XX\[..\]$|^46XY\[..\]$)')=1
CYTOGENETICS
"46,XX [20]"
"46,XY[20]"
"46,XX"
"46,XY[20]"
"46,XY[30]"
"46,XY[26]"
"46,XY [33]"
"46,XX[32]
etc...
my filter is just the where clause above i.e.
regexp_instr(regexp_replace(cytogenetics,'(\,+|\"+|\s)',''),'(^46XX$|^46XY$|^46XX\[..\]$|^46XY\[..\]$)')=1
*Are regular expression functions just not supported in interactive report filters?*
thanks in advance
Paul P

Hi Paul,
regular expression functions are supported in interactive report filters, but it looks like that REGEXP_INSTR hasn't been added as valid command. Only REGEXP_SUBSTR and REGEXP_REPLACE are valid commands for computation expressions and REGEXP_SUBSTR, REGEXP_REPLACE and REGEXP_LIKE for row level filters.
I have filed bug# 12926266 to fix this issue. Sorry for the inconvenience.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Similar Messages

  • POP LOV in classic Report not in a interactive Report

    My oracle version Oracle Express Aplication 11g
    Dear Forum
    We need a CLASSIC report where i can define what information my report will show.
    For example:
    My Report contain
    ID NAME DATE
    In Drag and Drop layout I create two data pickers cause I need to choose information between Date_picker_1 and Datepicker_2. both of them correspond to DATE
    In my region source in classic report I write something like this:
    Select id, name where DATE between :Date_picker_1 and :Datepicker_2 then Ichoose the months but nothing happen.
    I know that in the report interactive you can do that, but my boss doesnt' like interactive report (I dont know why) so my problem is in the Classic report.
    Danny Lima
    Ecuador
    PD: I'm not speak english very well

    >
    Please update your forum profile with a real handle instead of "897381".
    Also the subject of this thread—POP LOV in classic Report not in a interactive Report—doesn't appear to be relevant the question asked. There's no mention of a Pop-up LOV here?
    My oracle version Oracle Express Aplication 11gAlways state full version numbers, and include
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    as well.
    We need a CLASSIC report where i can define what information my report will show.
    For example:
    My Report contain
    ID NAME DATE
    In Drag and Drop layout I create two data pickers cause I need to choose information between Date_picker_1 and Datepicker_2. both of them correspond to DATE
    In my region source in classic report I write something like this:
    Select id, name where DATE between :Date_picker_1 and :Datepicker_2then Ichoose the months but nothing happen.Always post code wrapped in <tt>\...\</tt> tags. And always post the actual code or a realistic reduced test case: that query is not valid SQL.
    I know that in the report interactive you can do that, but my boss doesnt' like interactive report (I dont know why) so my problem is in the Classic report.Nothing to do with the report type. It's because all APEX items are actually VARCHAR2s. For proper comparison semantics with NUMBERs or DATEs in SQL explicit conversion is required:
    select id, name
    from foo
    where bar between to_date(:date_picker_1, 'DD/MM/YYYY') and to_date(:date_picker_1, 'DD/MM/YYYY')Where 'DD/MM/YYYY' is the format mask used in the datepicker items.

  • Error Message: "The formula syntax is not supported by the report"

    We are using 'Development Environment: SAP Crystal Reports, version for Visual Studio 2010 u2013 Standard ' and using CrystalDecisions.CrystalReports.Engine and CrystalDecisions.ReportAppServer APIu2019s
    I am reading SQLExpressionFields from one source .rpt file & want to add it to another ReportDocument. While doing so, it gives an error " The formula syntax is not supported by the report"
    doc.ReportClientDocumentDataDefController.FormulaFieldController.Add(formualField); // formualField is SQLExpressionField from source ReportDocument
    But when I tried to Add FormulaField, it succeeds
    Please help me in knowing how to add SQlExpressionFields to ReportDocument.
    Regards,
    -atul

    Thanx Don & Ludek for the reply.
    CR provides support for addition/modification of SQLExpressions.
    CRAXDRT.Application application = new CRAXDRT.ApplicationClass();
    CRAXDRT.Report innerReport = application.OpenReport(path, CROpenReportMethod.crOpenReportByTempCopy);
    innerReport .SQLExpressionFields.Add(name, strSQLExpression)
    CRAXDRT.dll provides support for addition/modification of SQLExpression fields. But its not compatible with 64bit.
    Just curious to know, is there any future plan to provide support for add/modify SQLExpression fields?
    Thanx
    -atul
    Edited by: Atul Chivate on Aug 21, 2011 6:13 PM

  • BUG:  Expression Language not supported (JDeveloper 10.1.3.0.4(SU1))

    Hi!
    I have the following code in a jspx page:
    <c:if test="${!empty bean.genericErrorMessages}">
    <h:outputText styleClass="texto_red"
    value="#{bean.genericErrorMessages}"
    id="applicationErrorMessages" escape="false"/>
    </c:if>
    All code compile well, but when i run the jspx page the following exception occur.
    The problem is that in JDeveloper Early Access 3 the problem doesn't occur.
    But in the Jdeveloper version 10.1.3.0.4(SU1) the exception occur.
    I'm running JDeveloper in a Windows XP SP2, JSF 1.1_01 and JSTL 1.0
    Does anyone know a solution to this problem? Tanks.
    The Exception:
    Error: Expression Language not supported in compile time attribute test
         at oracle.jsp.parse.JspUtils.hasELWithCreation(JspUtils.java:1248)
         at oracle.jsp.parse.JspUtils.processELAttribute(JspUtils.java:1274)
         at oracle.jsp.parse.OpenJspTagHandler.processAttributeValue(OpenJspTagHandler.java:331)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1368)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:739)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:739)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:739)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:739)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:739)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTagFile.parseXMLSrc(JspParseTagFile.java:296)
         at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:211)
         at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:403)
         at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:558)
         at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:348)
         at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:610)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:634)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:370)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:298)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:205)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at org.apache.shale.faces.ShaleViewHandler.renderView(ShaleViewHandler.java:143)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at pt.ivv.commonbusiness.presentation.servlets.filter.HibernateFilter.doFilter(HibernateFilter.java:68)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:534)

    Hello,
    You should not try to mix JSP and JSF EL prior to JSF 1.2 and JSP 2.1, the result is inconsistent most of the time.
    To fix your current issue though, I suggest you use the rendered attribute instead of a <c:if>, so would be:
    <h:outputText styleClass="texto_red"
    value="#{bean.genericErrorMessages}"
    id="applicationErrorMessages" escape="false" rendered="#{!empty bean.genericErrorMessages}"/>Regards,
    Simon Lessard

  • OCA-30002: ubofscr function not supported -- how to solve?

    Connecting to Oracle8i Lite using SQL*Plus 8 we get following
    message:
    OCA-30002: ubofscr function not supported
    Does anyone know how to solve this problem?
    Thank you in advance,
    Erik Martens
    null

    during the installation you have skip
    one of the step to install the require files
    for 8.0.5.
    what you can do is copy the file ub80w32.dll
    from your installation directory or
    download the latest patches 40016ol.exe from http://support.oracle.com/
    null

  • Getting error : This operation is not supported on a report server that runs in native mode

    Hi,
    I have installed SQLServer2008 Standard Edition in my system.
    Using SSRS 2008.
    I have added
    http://<serverName>/ReportServer/ReportService2006.asmx as web reference in my project.
    If i consume any method in ReportingService2006 am getting below error . 
    This operation is not supported on a report server that runs in native mode. ---> Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native
    mode.
    How to solve this problem?
    Thanks,
    Thangakumar

    Hi Thangakumar,
    In Reporting Services Web service, there are two endpoints available for managing objects on a report server, ReportServer2005 and ReportServer2006. The
    ReportService2005 endpoint is used for managing objects on a report server that is configured for native mode. The ReportService2006 endpoint is used for managing objects on a report server that is configured for SharePoint integrated mode. From you description,
    your Reporting Services runs in native mode, but ReportService2006.asmx is used for SharePoint integrated mode. If you need to call Reporting Services Web service in native mode, please change the address to:
    http://<serverName>/ReportServer/ReportService2005.asmx
    If you need to call Reporting Services Web service in SharePoint integrated mode, please change the address to:
    http://<Server Name>/<Site Name>/_vti_bin/ReportServer/ReportService2006.asmx
    For more information, you can refer to:
    http://msdn.microsoft.com/en-us/library/ms155398(v=SQL.100).aspx
    Thanks,
    Albert Ye

  • Pass on lot size" function not supported in costing runs

    hi when i am doing cost estimate through ck40n i am getting following error.
    Pass on lot size" function not supported in costing runs
    Message no. CK463
    Diagnosis
    You have selected costing variant PPC1 for the costing run. The Pass on lot size indicator is set in this costing variant. Costing variants in which this indicator is set cannot be used by the costing run.
    System Response
    The costing run is not created.
    Procedure
    You have the following options:
    Reset the Pass on lot size indicator in costing variant PPC1 so that the lot size is not passed on.
    Use a different costing variant in which the Pass on lot size indicator is not set.
    if any one had found any same king of error please help me in fix it.
    thanks
    kareem

    Probably this might be the cause
    Sales order by Costing
    Check out the below
    Pass On Lot Size
    Definition
    If this indicator is selected, the system determines the costing lot size using the lot size of the highest material in the BOM and the input quantities of the components.
    Use
    1) Do not pass on lot size
    If this indicator is not selected, the materials further down in the structure are costed in accordance with the lot size in the costing view of the material master record. When the materials in the next-highest costing level are costed, the costing results of the semifinished materials are converted to the lot size of the finished material to calculate the material costs for the finished product.
    2) Pass on lot size only with individual requirement
    In the MRP view of the material master record, you can specify that a material is planned as an individual requirement. If such a material is added to another material, costing uses the lot size of the highest material.
    3) Always pass on lot size
    Here, the costs for all the materials in a multi-level BOM are calculated using the costing lot size of the highest material. This function is used principally in sales order costing.
    If you are costing sales orders using product costing for a material with a multilevel BOM that is produced in-house, choose 2) or 3) . For those individual requirements materials, from a business management point of view it is recommended that the order lot size be used when costing the material components going into the finished product. On the other hand, materials subject to collective requirements are generally costed using the costing lot size in the material master record.
    Thanks

  • Match Regular Expression Function input string format

    Hi,
    I am new to labview and was having some difficulties using the Match Regular Experssion Function.  
    I am using labview to communicate with a sensor.  I have installed the NI device driver to do so.  The output of my sensor is in the format, 
    X20
    R40 P20 A123.  The numbers in this case are arbitrary.  I am trying to use Match Regular Expression Function to display and perform mathematical operations on the numbers.  I am having difficulties formatting the input string on the Match Regular Expression Function.  Could you please give me some tips on how to format the example I provided.  
    Thank

    MoAgha wrote:
    Hi,
    I am new to labview and was having some difficulties using the Match Regular Experssion Function.  
    I am using labview to communicate with a sensor.  I have installed the NI device driver to do so.  The output of my sensor is in the format, 
    X20
    R40 P20 A123.  The numbers in this case are arbitrary.  I am trying to use Match Regular Expression Function to display and perform mathematical operations on the numbers.  I am having difficulties formatting the input string on the Match Regular Expression Function.  Could you please give me some tips on how to format the example I provided.  
    Thank
    Here is a way to do it if the format is constant (X R P A followed by a positive integer number).
    Ben64

  • Tabular form validation(Checkbox) is not working for Interactive report

    Hi,
    I am using the oracle apex 4.0 and oracle 11g.
    I have written a below select query on interactive report as
    select
    apex_item.checkbox(1,RESIDD)||apex_item.hidden(2,RESIDD) row_selector,
    apex_item.text(3,RESNUM) as resnum
    from "PDRRES"
    and written the validation to display the error message( Function returning error text ) as
    DECLARE
    vRow BINARY_INTEGER;
    BEGIN
    -- apex_application.g_print_success_message := NULL;
    FOR i IN 1 .. apex_application.g_f01.COUNT
    LOOP
    vRow := apex_application.g_f01(i);
    apex_application.g_print_success_message := apex_application.g_f01(i)||'-'|| apex_application.g_f03(vRow) ;
    END LOOP;
    END;
    Output : No data found error message
    As far as it work for sql report with above logic because apex built in row selector
    but it fails in case of interactive report for some reason.
    Please suggest.

    Saroj Nayak wrote:
    Hi,
    I am using the oracle apex 4.0 and oracle 11g.
    I have written a below select query on interactive report as
    select
    apex_item.checkbox(1,RESIDD)||apex_item.hidden(2,RESIDD) row_selector,
    apex_item.text(3,RESNUM) as resnum
    from "PDRRES"
    and written the validation to display the error message( Function returning error text ) as
    DECLARE
    vRow BINARY_INTEGER;
    BEGIN
    -- apex_application.g_print_success_message := NULL;
    FOR i IN 1 .. apex_application.g_f01.COUNT
    LOOP
    vRow := apex_application.g_f01(i);
    apex_application.g_print_success_message := apex_application.g_f01(i)||'-'|| apex_application.g_f03(vRow) ;
    END LOOP;
    END;
    Output : No data found error message
    As far as it work for sql report with above logic because apex built in row selector
    but it fails in case of interactive report for some reason.
    Please suggest.NO DATA FOUND usually occurs when an i mplicit select does not find anything. It can also occur when referencing a collection element that has not been defined.
    You have 2 collectinons in the code you posted, apex_application.g_f01() and apex_applciation.g_f03. Since you are looping therough the COUNT attribute of g_f01 its reference ("I") is probably okay and the value store in vRow is probably not right. You can check this by using RAISE_APPLICTION_ERROR to see the value something like
    raise_application_error(-20000,'vRow="'||vRo2||'"');Remember that working with checkboxes is tricky. If the box is not checked nothing will be sent. You may need to define a default value when no value is submitted.

  • Multiple event not working in interactive report

    Hi Experts,
    I am developing a interactive report used Set-PFstatus '100' , AT user-command and At line-selection in a single program.
    Here At line-selection is not working but at user-command is working fine.
    After commenting set-PF ststus '100' event at line selection is working.
    Ii want at to use at-user command and at line-selection both to work with set pf-status.
    Please help me out.

    Hi,
    You can use these events together but in case while
    creating your GUI status for your program you have
    to give Function Code 'PICK' with F2 short cut key
    because for at line selectino double click 'PICK' function
    code is trigerred.
    hope it helps,
    Regards
    Mansi

  • Oracle 10g express edition can support forms 6i & reports

    I have installed oracle 10g express edition and installed forms 6i. while connecting forms 6i into ora 10g express edition it is not connecting in windown xp platform.
    It is showing only "dont send error". I want to know oracle 10g express edition can support forms & reports.
    Please give me solution.
    Thanks
    Govindarajan

    this is from metalink :(https://metalink.oracle.com/metalink/plsql/f?p=140:1:8190633972492825) for windows 2003
    Application Tier Certifications
    OS      Product      Server      Status      Addtl.      Info.      Components      Other      Issues
    2003      6.0.8.26.0 Patch 17      9.2      Desupported      Yes      Yes      N/A      N/A
    2003      6.0.8.26.0 Patch 17      10g      Desupported      Yes      Yes      N/A      N/ASeems you are right, but if you filter only certified version result is NONE!
    And anther link is prooving that:
    https://metalink.oracle.com/metalink/plsql/f?p=200:27:8190633972492825::::p27_id,p27_show_header,p27_show_help:609971.992,1,1
    Nice start to read is:
    http://www.oracle.com/technology/products/forms/htdocs/FormsSOD.html

  • 'gReport' is null or not an object - Interactive Report

    I'm getting a "'gReport' is null or not an object" error when attempting to use the Search bar in an Interactive Report. Based on googling and searching this forum, it seems likely that the Javascript on the page is interferring w/ the Interactive report somehow. I don't know enough about APEX and Javascript (I snagged the code from another application, and made some changes) to debug it, so I was hoping you guys could help.
    Here's the Javascript on my page:
    Header Text:
    <script language="javascript">
        function OnPageLoad() {
            var cmdButton;
            cmdButton = document.getElementById('CMD_P10_BASEPRODUCT');
            cmdButton.onclick = null;
            cmdButton.attachEvent("onclick", cmdSelectBaseproduct_onClick);
            cmdButton = document.getElementById('CMD_P10_CUSTOMER');
            cmdButton.onclick = null;
            cmdButton.attachEvent("onclick", cmdSelectCustomer_onClick);
            cmdButton = document.getElementById('CMD_P10_PRODUCT');
            cmdButton.onclick = null;
            cmdButton.attachEvent("onclick", cmdSelectProducts_onClick);
            cmdButton = document.getElementById('CMD_P10_VERSION');
            cmdButton.onclick = null;
            cmdButton.attachEvent("onclick", cmdSelectVersion_onClick);
            cmdButton = document.getElementById('CMD_P10_RUNREPORT');
            DisableItems();
        function cmdSelectBaseproduct_onClick() {
            PopupCriteriaListButton1_onClick('H_P10_BASEPRODIDLIST', 'TXT_P10_BASEPRODUCT', 26, 350, 300);
            DisableItems();
            GetPageURL();
        function cmdSelectProducts_onClick() {
            PopupCriteriaListButton3_onClick('H_P10_PRODUCTIDLIST', 'TXT_P10_PRODUCT', 22, 1350, 575);
            DisableItems();
        function cmdSelectVersion_onClick() {
            PopupCriteriaListButton4_onClick('H_P10_VERSIONIDLIST', 'TXT_P10_VERSION', 21, 1550, 575);
            DisableItems();
        function cmdSelectCustomer_onClick() {
            PopupCriteriaListButton3_onClick('H_P10_CUSTOMERIDLIST', 'TXT_P10_CUSTOMER', 14, 1350, 575);
            DisableItems();
        function PopupCriteriaListButton1_onClick(hiddenInputControlName, strTextControlName, intPopupPageID,
    intWidth, intHeight) {
            var strIDList = document.getElementById(hiddenInputControlName).value.replace(new RegExp(/,/g),
    "_") + ',' + document.getElementById('CBO_P10_PRODUCTLINE').value;
            var itemVal = document.getElementById('CBO_P10_PRODUCTLINE').value;
            var returnValue = OpenDialog(intPopupPageID, true, intWidth, intHeight, 'H_P' + intPopupPageID +
    '_IDLIST,CBO_P10_PRODUCTLINE', strIDList);
            if (returnValue != undefined && returnValue != null && returnValue.length > 0) {
                document.getElementById(hiddenInputControlName).value = returnValue.split('|')[0];
                document.getElementById(strTextControlName).value = returnValue.split('|')[1];
        function PopupCriteriaListButton3_onClick(hiddenInputControlName, strTextControlName, intPopupPageID,
    intWidth, intHeight) {
            var strIDList = document.getElementById(hiddenInputControlName).value.replace(new RegExp(/,/g),
    "_") + ',' + document.getElementById('H_P10_BASEPRODIDLIST').value;
            var returnValue = OpenDialog(intPopupPageID, true, intWidth, intHeight, 'H_P' + intPopupPageID +
    '_IDLIST,H_P10_BASEPRODIDLIST', strIDList);
            if (returnValue != undefined && returnValue != null && returnValue.length > 0) {
                document.getElementById(hiddenInputControlName).value = returnValue.split('|')[0];
                document.getElementById(strTextControlName).value = returnValue.split('|')[1];
    function PopupCriteriaListButton4_onClick(hiddenInputControlName, strTextControlName, intPopupPageID,
    intWidth, intHeight) {
            var strIDList = document.getElementById(hiddenInputControlName).value.replace(new RegExp(/,/g),
    "_") + ',' + document.getElementById('H_P10_PRODUCTIDLIST').value;
            var returnValue = OpenDialog(intPopupPageID, true, intWidth, intHeight, 'H_P' + intPopupPageID +
    '_IDLIST,H_P10_PRODUCTIDLIST', strIDList);
            if (returnValue != undefined && returnValue != null && returnValue.length > 0) {
                document.getElementById(hiddenInputControlName).value = returnValue.split('|')[0];
                document.getElementById(strTextControlName).value = returnValue.split('|')[1];
    </script>
    Page HTML Body Attribute:
    onload="OnPageLoad();"

    Hi Jari,
    The below function used work perfectly in APEX 3.2 for
    Pulling Page2 IR Report into Page1 Region having
    but in APEX 4.0, I am getting "gReport is undefined" when I click on IR Toolbar/Control panel like Action or Go
    function periodRep(){
    $.ajax({
    type: "POST",
    url: "wwv_flow.show",
    data: {
    p_flow_id : $v('pFlowId'),
    p_instance : $v('pInstance'),
    p_flow_step_id : "2",
    p_request : ""
    dataType : "html",
    success : function(data){
    var startTag = '<apex2ajax>';
    var endTag = '</apex2ajax>';
    var start = data.indexOf(startTag);
    if (start > 0) {
    data = data.substring(start+startTag.length);
    var end = data.indexOf(endTag);
    data = data.substring(0,end);
    $("div#XXHOLDER").html(data);
    $x_Value('pFlowStepId', "2");
    if($('#apexir_CONTROL_PANEL_COMPLETE').length > 0){
    if(!($('#apexir_CONTROL_PANEL_COMPLETE').css('display') == 'none')){
    gReport = new apex.worksheet.ws('');
    gReport.toggle_controls($x('apexir_CONTROL_PANEL_CONTROL'));
    }); //ajax
    }//periodRep
    Please help
    Thanks
    -Senthil K

  • Newly added column not displayed in Interactive report

    Hello,
    I have a tableA with 3 columns.In the application i am displaying as Form with Report region as Interactive report(Oracle 10g Application Express 3.2).
    I added one column to tableA.Now when i am refreshing the report by adding that column in the select query,the new added column is not displayed in the application.
    How can i do this so that the added column can be displayed.I dont want to delete the whole thing and redo it again.
    Thanks
    Siya

    Hi Siya,
    The Interactive Report will not show you the newly added columns by default. You have to select those columns from the actions menu and when all the required fields are displayed then save it as the default report.
    Then you will be able to see all the columns.
    Hope this solves your problem.
    Thanks,
    Satish.

  • SQL statement with Function returns slow in Interactive Report

    I have an Interactive Report that returns well but when I add in a function call in the where clause that does nothing but return a hard coded string of primary keys and is compared to a table's primary key with a like operator the performance tanks. Here is the example:
    get_school2_section(Y.pk_id,M.pk_id,I.section,:P577_SECTION_SHUTTLE) LIKE '%:' || I.pk_id || ':%'
    I have the values hard coded in the return of the function. There are no cursors run in the function, there is no processing done in the function. It only declares a variable. Sets the variable, and returns that variable back to the SQL statement.
    I can hard code the where clause value to look like this:
    ':90D8D830A877CCFFE040010A347D1A50:8ED0BBFDEAACC629E040010A347D6471:9800B8FDBD22B761E040010A347D0D9A:' LIKE '%:' || I.pk_id || ':%'
    This returns fast. When I add in the function call which returns the same hard coded values, the page goes from returning in 1 to 2 seconds to 45 or more seconds.
    Why does adding a simple function call into the where clause cause such a deterioration in performance.
    Edited by: alamantia on Aug 17, 2011 7:39 AM
    Edited by: alamantia on Aug 17, 2011 7:40 AM

    So you are telling me that the where clause with a function call will NOT run the function on every row? Please explain that to me further?
    if you have code that is the following:
    select a,b,c from a_table where a > 2 and b < 3 and function_call(c) > 0You are telling me that Oracle will NOT call that function on EVERY row it tries to process in the select?
    Thank you,
    Tony Miller
    Webster, TX
    I cried because I did not have an office with a door until I met a man who had no cubicle.
    -Dilbert
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Chart not appearing in Interactive report

    Hi,
    I have a nice interactive report. When I try to display a chart using the tools of the report, nothing appears. There is only a message, a kind of progression message saying "loading xml..... 100%", and then nothing appears.
    I am using Application Express 3.1.0.00.32.
    Thank you for your answers.
    Christian

    Hi Dimitri,
    Firs of all thank you for your patience. I do not oblige you to answer or whatever. it was kind of showing you the error.
    There are date columns but they were not selected for the chart.
    SELECT
         a."FICHE_ID" "N°",
         b."AGENT_ID" "AGENT_ID",
         b."NOM" || ' ' || b."PRENOM" "Agent",
         a."EQUIPE_ID" "EQUIPE_ID",
         c."LIBELLE" "Equipe",
         a."DATE_ACTIVITE" "Journée",
         a."TOTAL_HEURES",
         a."TOTAL_HEURES_EXCEPTIONNELLES" "H. excep.",
         a."FICHE_CREE_PAR" "Fiche créée par",
            a."DATE_CREATION" "Le"
    FROM
         "OBSERVATOIRE"."FICHE" a,
         "OBSERVATOIRE"."AGENT" b,
         "OBSERVATOIRE"."EQUIPE" c
    WHERE
         a.AGENT_ID = b.AGENT_ID
    AND     a.EQUIPE_ID= c.EQUIPE_ID
    AND     (a.total_heures IS NOT NULL
             OR a.total_heures_exceptionnelles IS NOT NULL)
    group   by a."FICHE_ID" ,  b."AGENT_ID" ,
            b."NOM" || ' ' || b."PRENOM" ,
               a."EQUIPE_ID" ,
               c."LIBELLE" ,
               a."DATE_ACTIVITE" ,
         a."DATE_CREATION" ,
         a."FICHE_CREE_PAR",
         a."TOTAL_HEURES",
         a."TOTAL_HEURES_EXCEPTIONNELLES"
    ORDER BY
         a."DATE_CREATION" DESCThank you
    PS if you want we stay here, no problem I you do not want to go further with this thread.

Maybe you are looking for

  • What does this component do? ipod nano 1g

    Hi, i've had to disassemble my iPod nano 1G at some point because it came into contact with water. I cleaned it up and it worked fine aside from the adhesive on some of the tapes on the inside being less sticky. The circled component in the picture c

  • TO GRANT SYSDBA

    Hi, I want to grant sysdba privilege to ops$ user. For that i have to set the remote_login_passwordfile parameter in the init<sid.ora file to EXCLUSIVE ryt..But as there is no such parameter in the file, i added up one. But still the parameter value

  • How to increase the system progress bar height?

    Hi I just want to increase the height of windows system progress bar and it is not able to customize. It is having the option to adjust the width and not the height. For example the height of system progress bar used in labview installer is large com

  • Why is my glass screen beginning to come off?

    The glass screen on my MacBook Pro is seperating from the rest of the computer at the top. A few months ago I cracked my screen and had it replaced. Nothing that I know of has happened since then that could cause this problem. Does anyone have any id

  • Live in Canada but travelling in Europe. I don't want to receive my emails when in Europe. How can I do that?

    Recently get an iPhone 5. I'm living in Canada but travelling in USA and Europe. I don't want to receive my emails when travelling. How can I block them? Thank