Bug? Interactive report includes the column excluded research

Apex 3.1

I've created an interactive report with a query that includes a 'expensive' column (a function call). To improve performance, I want to exclude this search/filter column.

I unchecked everything under "allow users to"... (filter) on the column attributes page. The column is no longer in the drop-down list under the microscope in the interactive report, but the column ("element_groups" in my example below) is always included in the SQL that is generated when the user makes a search via the "All columns" option (default):
select 
       "CMPCODE",
       "CODE",
       "NAME",
       "SNAME",
       "ACCOUNTTYPE",
       "ELEMENT_GROUPS",
       count(*) over () as apxws_row_cnt
 from (
select  *  from (
select ae.cmpcode, ae.code, ae.name, ae.sname, ae.accounttype,
  string_util_pkg.join_str (cursor(select distinct grpcode from accounting_element_group where cmpcode = ae.cmpcode and code = ae.code order by 1), ',') as element_groups
from accounting_element ae
where ae.elmlevel = :p852_elmlevel
)  r
where ((instr(upper("CMPCODE"),upper(:APXWS_SEARCH_STRING_1)) > 0
    or instr(upper("CODE"),upper(:APXWS_SEARCH_STRING_1)) > 0
    or instr(upper("NAME"),upper(:APXWS_SEARCH_STRING_1)) > 0
    or instr(upper("SNAME"),upper(:APXWS_SEARCH_STRING_1)) > 0
    or instr(upper("ACCOUNTTYPE"),upper(:APXWS_SEARCH_STRING_1)) > 0
    or instr(upper("ELEMENT_GROUPS"),upper(:APXWS_SEARCH_STRING_1)) > 0
))
) r where rownum <= to_number(:APXWS_MAX_ROW_CNT) 
 order by "CMPCODE","NAME","CODE"
In my view, the column should be excluded from "All columns" research when the column was set to prevent the user from filtering on it.

The same problem is reported here: interactive - report no research on all columns

Is this a bug? Fixed some 3.2 Apex? Apex 4? No work around?

-Morten

http://ORA-00001.blogspot.com

Hello

Yes, it is a known problem.
It seems that it is fixed on the Apex 4.0.2.00.06
http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/402-patch-189110.html#CHDIHDIB

Kind regards
Jari

Tags: Database

Similar Questions

  • What is the best way to view an interactive report with 20 columns

    Hello

    I have an interactive report, given the number of columns (about 20).
    What is the best way to view this report... by default to scroll horizontally to see all the columns.
    I want to avoid horizontal scrolling.

    Thank you
    Deepak

    Hello Deepak,

    You mean apart using a smaller font size or a larger screen?
    You can think to combine / wrapping columns (so more data in a column).
    Or hide some less important data and show only on request.

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Mix of traditional and interactive reports fails the process of RESETTING of PAGINATION.

    I have a tab page where I got 3 different reports REPORT_A (classic), REPORT_B (interactive) and REPORT_C (CLASSIC) in alphabetical order. I have a page to reset pagination process that will always draw (without condition) when you visit the page with the tab.


    Reset pagination process that exists in the front scene of the header is set to fire but not to reset the interactive report. It affects the subsequent classic report REPORT_C as well. The REPORT_A would be reset paging very well since it exists before the interactive report. Is this a bug in apex?

    I created an application of demonstration of test with specific steps to reproduce the problem. The steps are on the demo site itself.

    http://Apex.Oracle.com/pls/Apex/f?p=56638
    SUP: testuser
    P: password

    Apex Version: 4.2.4.00.08

    In my real application I wish a dropdownlist control on the page based on which I would like to filter the data. The dropdownlist control will have a corresponding branch of after-submit who will absolutely perfect pagination to reset & RIR. But when we visit Web site by tab the above problem would break the page.

    I tried the solutions like gReport.search ('SEARCH') but that will only set the interactive report, not the classic REPORT_C. It's just a hack anyway.

    Any ideas. ?

    Hello

    Create before that the process header on page 12 that calls APEX_UTIL. IR_RESET

    Kind regards
    Jari

  • How to move the form of interactive report on the left side to the right?

    the Apex 4:
    I write application in Hebrew, so I need to put in the page template dir = "RTL".
    all report and button and point moving to the right, but
    the stay of interactive report on the left side of the page (instead of right).

    Does anyone have an idea how to change the location?

    Thank you
    Return on investment

    Hello

    For the research on the copy of the side section right hand following the report in your HTML page header is on.

    
    

    Graham

  • Is - this too ambitious? Tabular no-show with interactive report in the subregion, showing the latest entries.

    Is this too much to expect in Apex 5.01?

    I have an application which records people entering an area.

    The idea is to scan badges and save time and the date of that entry.

    This is accomplished with a simple form based on the table of the newspaper.

    In a subregion of the form, I would have an interactive report that shows to all those who have entered sort by date and time entry descendant who visited today is obvious.

    I join the attendant to be able to use the interactive report to be able to select a particular line that could be recovered and placed in the main form to change (a bit like the model of interactive report with a link to a form where updates can be made.)

    I can create the report form and the subregion and that seems to work very well for journal entries, but I don't have a clue as to how I would go on the use of the report for access to update data in the form section.

    I would be eternally grateful if someone could point me in the right direction!

    Is this something that is hard to do in Apex?

    Thank you!

    Mason

    Masong says:

    Is this too much to expect in Apex 5.01?

    I have an application which records people entering an area.

    The idea is to scan badges and save time and the date of that entry.

    This is accomplished with a simple form based on the table of the newspaper.

    In a subregion of the form, I would have an interactive report that shows to all those who have entered sort by date and time entry descendant who visited today is obvious.

    I join the attendant to be able to use the interactive report to be able to select a particular line that could be recovered and placed in the main form to change (a bit like the model of interactive report with a link to a form where updates can be made.)

    I can create the report form and the subregion and that seems to work very well for journal entries, but I don't have a clue as to how I would go on the use of the report for access to update data in the form section.

    I would be eternally grateful if someone could point me in the right direction!

    Is this something that is hard to do in Apex?

    Not at all. Try to use the wizard to create a Page to create a form on a Table with report based on the table of the newspaper (choose Normal for page mode and Interactive for the implementation of the report). When finished, separate report and pages of form will have been generated. Go to the report page and copy the region interactive report on the page of the form. The report page can then be deleted if it is not required.

  • How to display data in the interactive report without colon (:)) column

    Dear gurus of the Apex,

    I am a beginner and you just create an application for the Apex of a worksheet. I created a list of named values and used in a box against a field in the page creation form default 3.

    When I selected several values in my box on the form, the data in the interactive report appear as a single line with a colon separating the values selected as follows: dog: Cat: bird

    What I would like is to have the data appear in the interactive report in a list like this multiline column:

    Dog
    CAT
    Bird

    I can work around this problem by modifying the SQL code in the Source region of the definition of the area of the report (interactive 1 Page by default) to replace the semicolon by < br >

    SELECT replace ("PETS_CHOSEN", ":","< br / > ')"PETS_CHOSEN", OF"MYAPP"Note: this is not format correctly in the display. I have replace the colon with a html br

    This works, but there seems to be a hack to me. I guess I missed an option simple setting somewhere, but I can't.

    The other problem with this solution is that when I export the report to Excel, that ship's dog < br > cat < br > Bird, which is seems worse than the colon.

    Thank you

    -Morgan

    Published by: mnrussel on February 16, 2009 04:13

    Hi Morgan,.

    I think you have at least two possibilities:

    1. replace the colon with "," (comma and space) - kind of reasonable on the screen and export

    2 create a second page that has the same report but use it "export: csv" model. Create a manual link to this page to replace the standard export binding. When these pages of the report are requested, they download immediately instead of display. So you can use commas in this one and < br > tags in the report to the screen version

    Andy

    ch - to display the tags in a post, use and lt; for < and & gt; for >

  • Interactive report - changing the font color of column.

    What would be the best way to change the color of the font color (data) in the interactive report without changing the model?

    Thank you

    Robert

    Then the best way is to use css as mentioned by Paul here {: identifier of the thread = 2397346}

  • Oracle Apex Interactive report missing filter column header information?

    Hello

    I use Oracle Apex 4.2, on Internet Explorer 9. I created an interactive report based on the views created in the database (11 g, version 11.2.0.1.0) oracle (workspace = database schema) I use the value of rownum to act as a key to identify the different lines.

    Whenever I try to find the information of one of the column headers for the interactive report (number), I'm not able to find the line, but when I try the same search for "action bar" at the top I am able to see the desired results. That is true of the SQL Developer so know if enter the same information in the filter of the columns, I see the corresponding lines.

    Y at - it an explanation for this behavior?

    Thank you

    Harry

    Hello

    This is a limitation of APEX. Column header filters in IR displayed first 999 distinct values in the ascending (after the application of all the IR filters). For example, you can filter 2310 using 'menu action filter' (as you specify) and then try clicking on the topic 'the number '. Then you must see 2310 here.

    fac586 of course it is a bug in the documentation, but 1 million limit is neither practical nor a way to go.

    Kind regards

    Hari

  • To create an interactive report in the apex by selecting from multiple tables

    Hi, I am creating an interactive report by selecting from multiple tables.

    SELECT w.FIRST_NAME as name, w.SURNAME as name, i.ROAD Road, i.DATE_OF_INC as DATE_OF_INC, S.STATEMENT as a STATEMENT OF Declaration

    JOIN THE

    WITNESS w

    ON w.witness_id = s.FK1_WITNESS_ID

    JOIN THE

    Incident I have

    WE

    i.incident_no = w.FK1_INCIDENT_NO

    JOIN THE

    user_station ps

    ON ps.station_id = i.nearest_station_id

    JOIN THE

    the user in.

    WE

    in. STATION_ID = ps.station_id

    WHERE po.officer_id = 1

    by I continue to encounter this error "the report query requires a unique key to identify each row. The supplied key cannot be used for this query. Please change the report attributes to define a unique key column. "ORA-01445: cannot select ROWID from where sample, a join without key preserved table view '

    So I googled around and found that in the attibutres tables report, I need to change the "LINK" COLUMN so first, I changed "Link to custom target", but the report is so I changed it to "Exclude link Clolumn" again, the report didn't report and I STILL got a blank page with only the tabs.

    I wonder you can not create a report by selecting from multiple tables?

    If you can please I need your help.

    Thank you

    You can, but in this case, it might be easier to build your report tables that are joined Oracle views and then build your report out of the newly built sight...

    Or wrap a selection around your selection with joins, and then make the where clause on the external selection...

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • Call the procedure to set the context before interactive report refreshes the data

    Hi guys,.

    I have a question mind an interactive report which takes the data in a view.

    The problem is that whenever I take the data from the database I need to define a context (user name and password) before running the query so the view will be taken into account the context and return only the lines that I have access.

    Everything works fine when I'm first loading of the page: I have first to define the context, then load all the data I need on the page, including the IR. But when I try to apply IR filters, or even don't go to the next page no data is returned. I believe this happens because the context is not defined before the execution of the query to load the data and I don't seem to find a way to put it.

    I tried to add a dynamic action on some events on IR (change, clicking, etc.) that executes the procedure to set the context, but without success - even if the event is raised, the report still doesn't return any data.

    Can someone help me with this issue please?

    Florin

    Use the attributes of application security Code PL/SQL of the initialization/cleanup of the database Session to do this: http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/bldr_attr.htm#HTMDB28929

  • Interactive report with no column header

    Is it possible to show a column with no title (label) in an interactive report?
    I tried to delete the column header and save, but when I run the report.
    It's still there

    See you soon

    Gus

    Gus,

    Try a space character or

    Vikram

  • Interactive report with Null columns

    I have a user who wants to export an interactive report, and there need to some columns will appear on export so that he can fill the data later (there is an intermediate step, while we work on getting all the data they need in the database). I created the report query, and there are a handful of columns null or empty (to keep the correct order for export). When I try to add this query to the APEX, in an interactive report, I get an "ORA-00001: unique constraint (APEX_040000.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated" error.

    Googling autour shows me that this happens because of the columns the same name, and the solution is to provide aliases for all columns. My report has alias on all columns, but I can't yet create an interactive report. I tried to change the columns null of empty strings, as well as encompassing the alias in double - quotes, but nothing works. However, I can use my original query to create a standard report, but due to export, this is not ideal.

    I was able to create the interactive report with a null and then edited the source column of the report to add to the others. This had to be done one at a time, given that you are trying to add several null columns at the same time gives the same error even once. Unfortunately, when I try and you run the page, I get a ' ORA-20001: get_dbms_sql_cursor error ORA-00918: column ambiguously defined "error.

    My original query:
    select customer.customer_name as customer,
           project.name as project_name,        
           trunc(project.estimated_end_dt) as due_date, 
           project_status.project_status_desc as status, 
           null as revenue, 
           project.baseline_effort as baseline_hours,
           null as projected_cost,
           null as est_gain_loss, 
           project.actual_hours as actual_hours,
           project.estimated_hours as projected_hours,
           null as projected_cost, 
           null as projected_gain_loss, 
           null as roi       
        from project, 
             customer
      where customer.customer_id = project.customer_id
      and project.inactive_ind = 0
      and project.customer_id is not null
      and project.estimated_end_dt >= :DTP_P50_STARTDT
      and project.estimated_end_dt <= :DTP_P50_ENDDT
    order by customer.customer_name, 
             project.estimated_end_dt;             
    Can someone tell me a way to create an interactive report with multiple null columns?

    Hi shimmoril,

    The problem is probably that you have two columns aliased as 'projected_cost' (columns 7 and 11).

    Hope this helps,
    John

    If you find this information useful, please indicate the 'useful' or 'correct' post so that others benefit. *

  • Interactive report with the subreport Details on the same page

    Hi all

    I am fairly new to APEX, sorry if my question is too obvious. I use Apex 4.0.2 on top of Oracle 11.2.

    I have an interactive report that lists the contents of a table. Since there are a lot of columns in this table I would like the report to only show that some identifier columns and all of the currently selected folder is displayed using another report in a separate area on the same page.

    The 'link' on the interactive report column is almost that, except that he jumps on another page; I would just like to have a subreport, updated with the data that is selected instead of a new page is displayed. Does anyone know how to do?

    Thanks for your help,
    Chris

    Chris,

    This looks like what I usually do in my referential data.

    I use the wizard to create the "report."

    I make sure that the two regions (the form and report) will be created on the same page number

    so I check/change the order of regions (second report in the first place, form)

    then I put in the form to display in the column 2

    Kind regards
    Richard

    P.S., the report shows only enough columns to recognize records. the screen displays all records

  • Interactive report &gt; calculate the creation field &gt; formula

    I am trying to create a calculation field in an interactive report in APEX 3.

    There are two fields: 'Plan Type' and 'Type of product.
    I want to create field calculate - balance 'My '.
    Condition is as follows:
    If the value of the 'Plan Type' field starts with 'FY11 AA' and the value of the field "Product Type" ends with "ABC" then "check my ' value of the field should be 'CHECK' else 'OK '.

    "Type plan"-"product Type" -"my check.
    FY11 AA123 - 123ABC - CHECK
    FY11 BB123 - 123KKK - OK
    FY11 CC123 - 123ZZZ - OK

    Would appreciate if you can write a formula to the previous case to me.

    Thank you
    Guy

    Hello

    CASE WHEN A LIKE 'FY11 AA%' AND B LIKE '%ABC'
         THEN 'CHECK',
         ELSE 'OK'
    END
    

    Replace the 'A' and 'B' with the relevant column alias appears on the screen.

    See you soon

    Ben

    Published by: Munky on 6 Sep, 2010 09:55 - typo

  • Interactive report with the hierarchy

    Hello

    In Apex Oracle 5.1, I tried to use an interactive report to view details of employee based on a hierarchy. I used the query to display data below:

    SELECT last_name, employe_id, manager_id, LEVEL

    Employees

    START WITH employee_id = 100

    CONNECT BY PRIOR employee_id = manager_id

    Brothers and SŒURS of ORDER BY last_name;

    The output was as below:

    LAST_NAME EMPLOYEE_ID MANAGER_ID LEVEL

    ------------------------- ----------- ---------- ----------

    King                                100                                                       1

    Cambrault                        148                                 100                 2

    Bates                              172                                 148                 3

    Bloom                             169                                  148                3

    Fox                                 170                                  148                3

    Kumar                             173                                  148                3

    Ozer                                168                                  148               3

    Smith                               171                                  148              3

    De Haan                           102                                   100             2

    Hunold                              103                                   102             3

    Austin                               105                                   103             4

    Ernst                                 104                                   103             4

    Lorentz                              107                                   103             4

    Pataballa                           106                                    103            4

    Errazuriz                           147                                   100              2

    Ande                                 166                                    147             3

    Banda                               167                                     147             3

    ...

    Now, I would like to display data based on the connection of employees.

    For example (based on above request): If an employee named - Cambrault is the login, only employees under him (Bates, Bloom, Fox, Kumar, Smith, Ozer) and its own contact information should appear in the report.

    Please advise.

    Kind regards

    mebu

    Mebu wrote:

    Please take a look on the underside of the employees table, employee_id here will be used as a unique identifier for each lines and names of the connection will be with these employe_id. single sign on Option will be used for login purposes.

    Really?

    SQL > SELECT last_name, employe_id, manager_id, LEVEL

    2 FROM employees

    3 START WITH employee_id = to_number(:app_user)

    4 CONNECT BY PRIOR employee_id = manager_id

    5 brothers and SŒURS of ORDER BY last_name;

    LAST_NAME EMPLOYEE_ID MANAGER_ID LEVEL

    ------------------------- ----------- ---------- ----------

    Cambrault 148 100 1

    Bates 172 148 2

    Flowers 2 148 169

    Fox                              170        148          2

    Kumar 173 148 2

    Ozer                             168        148          2

    Smith, 2 148 171

Maybe you are looking for