PL/SQL report condition not working

I have a PL/SQL statement to display a report based on a condition and no matter what i try, it still displays all the records. Im trying to display all the records where chart.voided does not equal 'Y'.
I have tried to add the condition to the where clause and also have tried to add a hidden item with a filter. Neither one seem to work.
Does anyone know what i am doing wrong here?
Thanks
Deanna
declare
q varchar2(4000);
begin
-- setup sql for report source
q := 'select * from
(select CHART.RECNUM,CHART.CASE_NUMBER,
CHART.INCIDENT_DATE,CHART.INCIDENT_TIME,
CHART.TROOP#1,CHART.TROOP#2,
CHART.COUNTY,
CHART.LOCATION,CHART.CASE_COMPLETED,CHART.CASE_STATUS,CHART.RECONSTRUCTION,CHART.MAP,
CHART.VOIDED,
CHART.TECHNICIAN1_RADIO,CHART.TECHNICIAN2_RADIO,
chart.technician1_lastname||'',''||chart.technician1_name "TROOPER#1",
chart.technician2_lastname||'',''||chart.technician2_name "TROOPER#2",
chart.technician3_lastname||'',''||chart.technician3_name "TROOPER#3",
chart.technician4_lastname||'',''||chart.technician4_name "TROOPER#4",
chart.technician5_lastname||'',''||chart.technician5_name "TROOPER#5",
CHART.ROLE#1,CHART.ROLE#2,CHART.ROLE#3,CHART.ROLE#4,CHART.ROLE#5,
CHART.TECHNICIAN1_LASTNAME,CHART.TECHNICIAN1_NAME,
CHART.TECHNICIAN2_LASTNAME,CHART.TECHNICIAN2_NAME,
CHART.TECHNICIAN3_LASTNAME,CHART.TECHNICIAN3_NAME,
CHART.TECHNICIAN4_LASTNAME,CHART.TECHNICIAN4_NAME,
CHART.TECHNICIAN5_LASTNAME,CHART.TECHNICIAN5_NAME
FROM CHART)
WHERE (
--:P22_VOID !=''Y'' AND
instr(upper("RECNUM"),upper(nvl(:P21_SEARCH,"RECNUM"))) > 0  or
instr(upper("CASE_NUMBER"),upper(nvl(:P21_SEARCH,"CASE_NUMBER"))) > 0  or
instr(upper("INCIDENT_TIME"),upper(nvl(:P21_SEARCH,"INCIDENT_TIME"))) > 0  or
instr(upper("INCIDENT_DATE"),upper(nvl(:P21_SEARCH,"INCIDENT_DATE"))) > 0  or
instr(upper("TROOP#1"),upper(nvl(:P21_SEARCH,"TROOP#1"))) > 0  or
instr(upper("TROOP#2"),upper(nvl(:P21_SEARCH,"TROOP#2"))) > 0  or
instr(upper("TECHNICIAN1_RADIO"),upper(nvl(:P21_SEARCH,"TECHNICIAN1_RADIO"))) > 0  or
instr(upper("TECHNICIAN1_NAME"),upper(nvl(:P21_SEARCH,"TECHNICIAN1_NAME"))) > 0  or
instr(upper("TECHNICIAN1_LASTNAME"),upper(nvl(:P21_SEARCH,"TECHNICIAN1_LASTNAME"))) > 0  or
instr(upper("TECHNICIAN2_RADIO"),upper(nvl(:P21_SEARCH,"TECHNICIAN2_RADIO"))) > 0  or
instr(upper("TECHNICIAN2_NAME"),upper(nvl(:P21_SEARCH,"TECHNICIAN2_NAME"))) > 0  or
instr(upper("TECHNICIAN2_LASTNAME"),upper(nvl(:P21_SEARCH,"TECHNICIAN2_LASTNAME"))) > 0  or
instr(upper("COUNTY"),upper(nvl(:P21_SEARCH,"COUNTY"))) > 0  or
instr(upper("LOCATION"),upper(nvl(:P21_SEARCH,"LOCATION"))) > 0  or
instr(upper("CASE_COMPLETED"),upper(nvl(:P21_SEARCH,"CASE_COMPLETED"))) > 0  or
instr(upper("CASE_STATUS"),upper(nvl(:P21_SEARCH,"CASE_STATUS"))) > 0  or
instr(upper("RECONSTRUCTION"),upper(nvl(:P21_SEARCH,"RECONSTRUCTION"))) > 0  or
instr(upper("MAP"),upper(nvl(:P21_SEARCH,"MAP"))) > 0 or
instr(upper("VOIDED"),upper(nvl(:P21_SEARCH,"VOIDED"))) > 0)';
--Filter Voided
--         if :P22_VOID !='Y' THEN
--                q := q || ' and instr(upper("VOIDED"),upper(nvl
--(:P22_VOID,"VOIDED"))) > 0';
--         end if; 
return q;
end;

Hi, Deanna.
If the only condition for being selected is chart.voided = 'Y', then the WHERE clause should be:
WHERE   chart.voided     = 'Y'If the condition chart.voided = 'Y' is just one of many conditions that must be met, use AND, like this:
WHERE   chart.voided     = 'Y'
AND     (     instr(upper("RECNUM"),         upper(nvl(:P21_SEARCH,"RECNUM")))         > 0
     OR     instr(upper("CASE_NUMBER"), upper(nvl(:P21_SEARCH,"CASE_NUMBER")))  > 0
     OR     ...
     )Don't mix ANDs and ORs at the same level. In my example above, notice how there are two conditions, connected by AND
(1) "chart.voided = 'Y'"
(2) a whole bunch of tests involving INSTR, all connected by OR. The parentheses around this condition are necessary: they keep the ORs at a lower level than the AND connecting the 2 top-level conditions.
Edited by: Frank Kulash on Aug 17, 2009 6:55 PM

Similar Messages

  • OR condition not working correctly in SQL

    I am adding the folling condition to a sql statement and
    AND (status_code IS NULL or status_code <> 'T'
    or (status_code IN ('A','B','C','D') and TRIM(order_type) NOT LIKE '%9999')
    or (status_code IN ('A','B','C','D') and order_type IS NOT NULL)
    or (status_code NOT IN ('A','B','C','D')))
    but the or condition work...
    if i change it too
    AND ( (status_code IN ('A','B','C','D') and order_type IS NOT NULL) )
    then this portion of the OR condition work but when I use the OR condition something weird is happening that the condition not working... and i dont see a record that meets that condition...

    Hi,
    It's not the "trim" that implies "not null", but rather the fact that:
    - "not like" operator works only on non-null values and
    - "not like" operator disregards null values.
    Consider this:
    test@ORA92>
    test@ORA92>
    test@ORA92> l
      1  with x as (
      2    select null as y from dual union all
      3    select 'a9999' from dual union all
      4    select 'bxx' from dual
      5  )
      6  select * from x
      7* where y not like '%9999'
    test@ORA92>
    test@ORA92> /
    Y
    bxx
    1 row selected.
    test@ORA92>
    test@ORA92>Here, trim function was not used, but still the first row (that had null for y) was not returned. That's because Oracle disregarded the first row for comparison and out of the next two rows, it returned the third row because it satisfied the condition.
    As for your query, do the following conditions hold true:
    1. if status_code is null      - show the row regardless of order_type
    2. if status_code <> 'T'       - show the row regardless of order_type
    3. if status_code in (a,b,c,d) and order_type is not null and order_type ends with something other than 9999 - show the row
    4. if status_code in (a,b,c,d) and order_type is null                           - do not show the row
    5. if status_code in (a,b,c,d) and order_type is not null and it ends with 9999 - do not show the row
    6. if status_code is anything other than (a,b,c,d)                              - do not show the rowpratz

  • Discoverer Reports does not work in Multi-org Environment after R12 Upgrade

    Discoverer Reports does not work in Multi-org Environment after R12 Upgrade. Created a simple report using the below query:
    SELECT po_header_id, segment1, type_lookup_code
    FROM po_headers
    WHERE segment1 = '5000002'
    Query works perfectly fine; when i set the ORG_CONTEXT in the database using the command:
    EXEC mo_global.set_policy_context('S',129)
    But the report doesn't fetch any data when ran from an Org based responsibility. We've ensured that the MO: Operting Unit is set accurately and general Oracle reports (PLSQL Program OR XML Publisher) are working perfectly fine.
    ===========
    I followed the steps provided in Metalink Note: 732826.1 - It works for some responsibilities where the MO: Security Profile is not set; but fails for those responsibilities where the MO: Security Profile is set.
    I am looking for specific solution that works irrespective of either the MO: Operating Unit profile is set of not.
    Please suggest. Appreciate your response.
    Thanks,
    Kesava Chunduri

    Hi Hussein,
    Thanks for the quick response.
    Yes, I've gone thru both the notes specified below:
    Discoverer Workbooks Based On Organization Enabled Views Are Not Populated [ID 1293438.1]
    - Tried this option; but this option is messing up a couple of Oracle Standard Functionalities.
    - For ex: If i set this profile option; we are not able to create any receipts using Custom Responsibilities.
    I am able to create the receipt, when i remove this profile option.
    No Data Shows for Reports in Discoverer 10g with Applications Release 12 [ID 1054380.1]
    - I see that the products i am running these reports from AR/GL - already exists in these tables.
    Anything other options??
    Thanks,
    Kesava

  • 1. TACAS+ Accounting and Logged in Users report is not working on ACS 4.1(1

    Hi,
    I am facing problem with ACS 4.1 accounting, TACAS+ Accounting and Logged in Users report are not working, the csv file is been generated but nothing is showened in the file.
    I have checked the documents related to ACS 4.1, it says that there is a bug related to command accounting “CSCsg97429 - TACACS+ Command Accounting does not work in ACS 4.1(1) Build 23”.
    Tried upgrading the same with the patch applAcs-4.1.1.23.3.zip, still it is not working.
    Other reports are working fine.
    1. TACAS+ Accounting - not working
    2. Logged in Users - not working
    3. TACAS+ Administration - working
    4. Passed Authentication - working
    5. Failed Attempts - working
    Any suggestions or any idea, please revert.
    Regards
    Vineet

    Hi,
    Thanks
    Yes I have configured the command “aaa accounting exec default start-stop group tacacs+”
    As I have mentioned all the other reports are working. Which user and when he has logged in and what commands he has used. Only the TACAS+ Accounting and logned user is not working.
    Regards,
    Vineet

  • Extraction and Reporting is not working in BI SYSTEM

    Hi,
            The BI developement r shows error an License Expire.Currently i change the system date and working fine. If changing the system date modeling part is working fine. But extraction and Reporting is not working. please help me to solve this problem.

    HI,
    If the license is expired then appky for the permanent license from Service market place and install it in the system through SLICENSE TCode. For this you need to have S-user ID to access service market place to apply for license.
    Regards,
    Sharath

  • SQl loader is not working in 10g but working in 9i

    In My PC i have installed both 9i and 10g. could you please tell me why it is not working

    "SQL loader is not working" is rather like "my car won't start" http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
    The 9i Oracle Client install includes sqlldr. The 10g Oracle Client install does NOT include sqlldr. You'd have to do a "Custom" Install and specifically select "Oracle Database Utilities" to install.
    See MetaLink Note#437377.1
    Edited by: Hemant K Chitale on Dec 31, 2008 3:58 PM
    Edited by: Hemant K Chitale on Dec 31, 2008 4:00 PM

  • Web reporting does not work in BW system

    Hi-
    I'm a BW consultant with very little BASIS knowledge and have been asked to look into why web reporting is not working on our system.
    We get the following message when trying to run BW queries on the web:
    Not found
    The following error occured:
    %3cpre%3e%0aLOCATION+++MessageServeronhosttongue%0aERROR+++++Grouptonguenotfound%0a%0aTIME+++++++TueMar2004%3a21%3a132007%0aRELEASE+++640%0aCOMPONENT+LG%0aVERSION+++5%0aRC++++++++-6%0aMODULE++++lgxx_mt%2ec%0aLINE++++++3518%0aDETAIL++++LgIGroup%0aCOUNTER++++10%0a%3c%2fpre%3e
    I've checked SICF and all services are activated.  I suspect that the problem is in the RZ10 parameters, but do not know what needs to be set there.  Here are our settings:
    rdisp/max_wprun_time                        3600                        
    abap/cache_area                             10000000                    
    abap/buffersize                             1500000                     
    login/system_client                         100                         
    INSTANCE_NAME                               DVEBMGS00                   
    SAPSYSTEM                                   00                          
    rdisp/wp_no_dia                             10                          
    rdisp/wp_no_btc                             6                           
    rdisp/wp_no_vb                              2                           
    rdisp/wp_no_vb2                             1                           
    rdisp/wp_no_enq                             1                           
    rdisp/wp_no_spo                             1                           
    DIR_TRANS                                   /usr/sap/trans              
    ms/server_port_<xx>                          PROT=HTTP, PORT=8080       
    icm/server_port_0                           PROT=HTTP,PORT=8080,EXTBIND=1
    DIR_ORAHOME                                 /oracle/BWD/920_64          
    ipc/shm_psize_10                            104000000                   
    ipc/shm_psize_14                            0                           
    ipc/shm_psize_18                            0                           
    ipc/shm_psize_19                            0                           
    ipc/shm_psize_30                            0                           
    ipc/shm_psize_40                            114000000                   
    ipc/shm_psize_41                            0                           
    Is there anything obvious missing?
    Thanks,
    Tristan

    Following seems a little odd....
    ms/server_port_<xx> PROT=HTTP, PORT=8080
    I would expect something like:-
    ms/server_port_0 = PROT=HTTP,PORT=8102 (or other relevent port number)

  • Active Report Viewer not working in Internet Explorer 10

    We have many legacy applications developed using ASP and VB(InterDev). Our organisation is moving to use Internet Explorer 10 in the near future.
    We had a IE10 compatibility testing for our legacy applications and we observed that the applications using Active Report Viewer to generate the reports are not working. Applications works perfectly fine with the older version of Internet Explorer.
    We looked for the various workarounds but we did not succeed.
    Some application does nothing when we click on a button to generate the report but some applications throws the below error:
    "ActiveX
    control failed to load! -- This control is required to use the Address Book and Attachment features.  Please check your browser security settings and/or contact PC Support to install the digitally signed control."
    We will be glad if we get any assistance on this issue.

    We have many legacy applications developed using ASP and VB(InterDev). Our organisation is moving to use Internet Explorer 10 in the near future.
    We had a IE10 compatibility testing for our legacy applications and we observed that the applications using Active Report Viewer to generate the reports are not working. Applications works perfectly fine with the older version of Internet Explorer.
    We looked for the various workarounds but we did not succeed.
    Some application does nothing when we click on a button to generate the report but some applications throws the below error:
    "ActiveX control failed to load! -- This control is required to use the
    Address Book and Attachment features.  Please check your browser security settings and/or contact PC Support to install the digitally signed control."
    We will be glad if we get any assistance on this issue.
    Hi,
    There is a more dedicated forum for web development issues
    https://forums.asp.net , I would recommend you post this issue in that forum to get more dedicated supports.
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Sql Monitor is not working for forms10g

    Hi All,
    Sql Monitor is not working for forms10g.How can i solve this problems.
    Regards
    Gopinath M

    using sqlmonitor i have traced the forms 6i (.fmx),in this case toad additional
    software sql monitor is automatically added the frmbld.exe in application.
    whatever i am doing in forms runtime the sqlmonitor provide the sql query.
    for examble i am opening the lov with the help of F9.Now the sqlmonitor trace
    the sql query for that lov item.so its very helpful to see the query without
    the source(.fmb).
    Now the problem is the sqlmonitor is not added the iexplore.exe in application.
    because it added frmbld.exe only not for iexplore.exe.but the 10g forms are
    running from the explorer.is there any other forms trace method is available
    pls kindly guide to me.

  • In Oracle this SQL update tatement not working but in MS SQL it works

    Dear Friends,
    The following sql update statement work fine in MS sql server but not working in Oracle. Can you kindly suggest, What is wrong with this statement ? and is their any other way of achieving the same in Oracle.
    UPDATE INPUTSTREET SET EDIT_FLAGS=S.EDIT_FLAGS From INPUTSTREET G, INPUT_SEGBASE S Where G.GEOKEY=S.GEOKEY
    This statement give error in Oralce saying - Statement not ended properly
    Cheers,
    Vinay

    You would normally write
    UPDATE inputStreet g
       SET edit_flags = (SELECT s.edit_flags
                           FROM input_segbase s
                          WHERE s.geokey = g.geokey)If you don't want to update all the rows in inputStreet, you can add a WHERE EXISTS clause.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Oracle 9iAS R2 - reports are not working  - JSP Error

    dear All
    We are having issue in our Oracle 9i AS R2, the reports are not working, this thing happend suddenly , while runing any report the following messages are coming
    ==============
    500 Internal Server Error
    OracleJSP:
    JSP Error:
    Request URI:/repdemo/examples/Tools/test.jsp
    Exception:
    org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
         at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java:79)
         at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java:147)
         at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:196)
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java:365)
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java:493)
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:356)
         at oracle.reports.engine._EngineReportStub.doneReport(_EngineReportStub.java:36)
         at oracle.reports.definition.RWJspProxy.doneReport(RWJspProxy.java:261)
         at oracle.reports.definition.RWReport.done(RWReport.java:1087)
         at oracle.reports.jsp.ReportTag.release(ReportTag.java:398)
         at oracle.jsp.runtime.OracleJspRuntime.releaseTagHandler0(OracleJspRuntime.java:1109)
         at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1213)
         at examples.tools._test._jspService(_test.java:292)
         [SRC:/examples/Tools/test.jsp]
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    -=================
    please help to resolve this issue.
    thanks in advance.
    regards

    Dear All
    Just to share the solution of the problem.
    We restarted the XServer which is on the other machine then Oracle 9i AS Middle Tiere and Infra. Once we restarted the XServer machine, and restarted the reports server , every thing back to normal.
    regards

  • Crystal reports 2008 not working on 64 bit OS

    Hello Everybody,
    I have developed crystal reports in CR2008. My development environment is 32 bit OS with visual studio 2005 and it is working fine. When I deployed  this applciation into 64 bit OS,application is working fine,but  reports are not working/displaying.
    Thanks
    Ram

    I moved your post to the .NET - SAP Crystal Reports forum. You'd never have gotten an answer on the CR Design forum
    More info needed:
    Exact version of CR (Help | About)?
    Web or win app?
    More details on:
    reports are not working/displaying
    Errors? Do you get the viewer? Or just an empty form?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • After Installing SQL Server 2012 Service Pack the RDL reports do not work

    I installed SQL Server 2012 Service Pack on backEnd sharepoint and also on BI Server that host Reporting Service.(Before installation everything was working properly)
    After this installation the RDL reports do not open and I receive this error message.
    The permissions granted to user 'domain\username' are insufficient for performing this operation. (rsAccessDenied)
    I also receive the same error message on changing DataSource, Parameters and subscription.
    I should mention that, I am using Reporting Services in the Integration Mode. I want to open and modify RDL reports from SharePoint and inside the SharePoint Document Library.

    Hi Hedayat,
    Thanks for posting your issue,
    To solve this problem you have to grant your SQL Reporting Service Application Pool
    Account (whatever is running your SQL Service Application, see Central Admin -> Manage Service Application -> SQL Server Reporting Services)
    Full Control to the web application that report is being deployed to in your particular case.
    Or you could just use the powershell command below:
    $webApp = Get-SPWebApplication –Identity http://yoursharepointapp 
    $webApp.GrantAccessToProcessIdentity(“domain\SSRSAccount”) 
    Also, check out below mentioned URLs for more details and fixes of this issue
    http://paulliebrand.com/2013/09/25/ssrs-and-permissions-granted-to-user-are-insufficient-for-performing-this-operation/
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/4ea477ec-ea12-4a3e-bc33-2fcf9d52b84e/error-rsaccessdenied-nt-authoritynetwork-service-are-insufficient?forum=sqlreportingservices
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • SHAREPOINT 2013 WITH SQL SERVER 2012 REPORTING SERVICES - NOT WORKING

    The SQL 2012 with SP1 is installed but the Reporting Services are not working and not able to connect the Sharepoint with it.
    i also TRIED TO install THE ADD-ON (rsSharePoint.msi) but it doesn't connect and show the Sharepoint Mode and cannot connect the Reporting services.
    If I install the Reporting Native feature then the reporting service config displays the Instance else doesn't show and connect to the sql server.
    But I am able to access the Configuration manager and TCP/IP are enabled.
    I have installed SQL 2012 and Sharepoint 2013. Please revert soon.
    Tks - Vinay

    Reporting Service
    http://msdn.microsoft.com/en-us/library/jj219068.aspx
    http://blogs.msdn.com/b/biblog/archive/2012/12/04/installing-and-configuring-sql-reporting-services-on-sharepoint-2013.aspx
    http://blogs.msdn.com/b/psssql/archive/2011/02/18/sharepoint-adventures-setting-up-reporting-services-with-sharepoint-integration.aspx
    http://dinesql.blogspot.in/2010/06/configuring-reporting-services-2008-r2_07.html
    http://www.codeproject.com/Articles/355461/Dynamically-Pointing-to-Shared-Data-Sources-on-SQL
    http://www.heysharepoint.com/problems-with-sql-2012-reporting-services/
    http://andrewcbancroft.com/2012/06/30/troubleshooting-sql-server-2012-reporting-services-and-sharepoint-2010-integration-part-1/
    Please find the helping URL
    Thanks
    Jaison A
    http://infomoss.blogspot.in

  • Refresh PL/SQL Report Region (not Page) using Select List value

    Hi,
    I've got a report region based on a 'PL/SQL function body returning a SQL query'which gets generated on selecting a value from a Select list item, The Select List action is 'Redirect and Set value' but this causes the whole page to refresh rather than just the report region. I've tried to refresh the report only using a dynamic action on the Select List item (Action now reset to  'None') but now the report is not appearing on choosing from the List. Can anyone suggest a solution that will allow me to refresh this report without refreshing the page? I am using APEX 4.2.2 and the report syntax is as follows:
    DECLARE
      v_statement VARCHAR2(500);
    BEGIN
      SELECT query_text
        INTO v_statement
       FROM sql_queries
       WHERE query_id = :P2_QUERY ;
       RETURN v_statement ;
    END ;
    where P2_QUERY is Select List Item,
    regards,
    Kevin.

    KevinFitz wrote:
    The report region being displayed is conditional on P2_QUERY item being NOT NULL. I assume the region not appearing is because the Action for the Select List Item is set to None and so P2_QUERY is always NULL.
    No, the region is not appearing because it is conditional on P2_QUERY being NOT NULL. This means that the report region never exists on the page shown in the browser, so it can't be dynamically refreshed. (Dynamic refresh doesn't evaluate region conditions, and it only re-renders the report content, not the entire region.)
    Remove the condition on the report region, check the refresh is working, then reconsider exactly what the requirements here are. If you want the region to appear only when P2_QUERY has a value, and you want it to be refreshed without submitting and re-rendering the page, then the region needs to be hidden rather than conditionally rendered, and shown via a dynamic action when P2_QUERY gets a value.
    I tried adding an additional Set Value True Action for the DA event but got an error as listed above,
    All irrelevant if Page Items to Submit on the region is used properly.

Maybe you are looking for

  • Windows Vista Home Version and Adobe Flash Player 10.

    I use Windows Vista Home Version and I am finding it difficult to download Adobe Flash Player 10. It appears to have been downloaded but on examining Control Panel, I discovered that its content is empty (no size is aportioned to it). Most importantl

  • DG Output on Delivery Note

    Dear Experts, THis is regarding form for LD00. For getting DG data on form, there is one std form in sap which is RVDELNOTE. The respective print program is RVADDN01 Please note that, I have exported RVDELNOTE in All Languages from another IDES syste

  • Word/PDF Forms on BB 9810

    I require a checklist on my BB on which I can tick off items. I can create forms in Word or in Acrobat, but these do not seem to work (I cannot tick the checlist). Does anyone have a solution for this? Alternatively, are there any other tools/methods

  • Can't click on links in safari, but can open to new tab

    Hey guys, I recently uploaded my first website via dreamweaver, but I can't seem to click on my links while in Safari. The links are there and they do work, because I can right click and open to a new tab. Also while previewing the site in dreamweave

  • Capital letters issue with 'like'

    Hello Maybe it is simple but I cant find solution for this. For example I have table pets with column name "name" | "category" 1. Tomcat | cat 2. tomy | cat 3. toM | cat 4. tim | cat 5. tOmi | cat query select name from pets where name like '%to%' re