It is possible to sort an interactive report with a default column?

Hello

I have a great request accompanied by an interactive report.
select "ID", 
"DATE_CREATION",
"SERVICE",
"RESPONSABLE",
"NATURE_CONTRAT",
"SOCIETE",
"DATE_DEBUT",
"DATE_FIN",
"DELAI_RENOUVELLEMENT"
from "#OWNER#"."CONTRATS_MAINTENANCE" 
order by DATE_FIN desc
Unfortunately, the interactive report not display using the order in the SLQ query.
I tried to select the 'out' of each of the other columns in the attributes column Section, but without any improvement. If I remove the declaration of the order in the SQL query, nothing changes in the order.

You have an idea on how to display the rows in the order of the sql query?

Thank you for your knid answers!

Geraldine

Christian,

This can be a little tricky at first. Try this:
1 remove the order by clause of the query.
2. close the application, not the generator, just the application.
3 reconnect and try to use the interactive report options to sort the information.

It work? If so:

4. get the order of the way you want as the default. Note: you get more sort options if you use the Action Menu (milling wheel) and a sort by selecting more simply by clicking on the column headers.
5. save the report by selecting the save the report option in the Action Menu. If you see a drop down, save the report 'by default'.
6. close the app again and come back.

It work?

Kind regards
Dan

http://danielmcghan.us
http://sourceforge.NET/projects/tapigen

You can reward this answer by marking as being useful or correct ;-)

Tags: Database

Similar Questions

  • Interactive report - with different colors column header

    Hi all

    I use the Application Express 4.0.2.00.07.

    Theme: 2 blue Builder

    I have the zoom before interactive reports in a page, in do I have to display each header of reports with different colors instead of having the same blue color given by theme for all reports.

    Also I need this color change of header for this page only, not for the entire application.

    can someone offer me please how to do this?

    Thank you for your help in advance.

    Kind regards

    Santini.

    Add a static region ID in each region report and include a stylesheet like the following in the HTML Header page:

    
    

    When the report 1, report 2, etc. are the static region ID.

  • sorting and interactive report

    Is it possible to have an interactive report but hide some columns in the action area. If users take to sort?

    Ex: created an interactive reports from the tables. There are columns with large text tabled. I would like users to sort on them for fear of perfomance hit. However, must these fields show on the report. Is it possible? All suggestions will be grateful.

    When you change a column in an interactive report

    Click on the interactive report
    Click on the column name

    In the column definition area, you can pick stocks, you allow the user to make on this column
    Allow users to:
    Charter of calculating overall sorting filter control Break

  • How to enable detailed interactive report view by default for the user public?

    Hi all

    I'm developing a page of search results.

    I'm doing a view instead of a default table view of interactive reports. So in this case I activated the details view so that I could make the fancy designs.

    everything worked well and looked clean but however when I pass the value of my search using IR_ROWFILTER page and clear the results page using page_noIRB, it brings me to the result page of interactive reports with the default table as point of view.

    I have to press the detailed view to get. I tried to save it as a default value, but it won't work. This question is for user public.

    If I do the page requires authentication, and record the detail by default view, I wouldn't have any problem. I could search and it will bring directly in to the detail view of the search page.

    of course, the other reason that I found is because im using the IR_ROWFILTER and by disabling the page using page_noIRB... without it, it works well, but I need it coz im making a a search result. I need to send the text to search for another page and put it in the filter to the search page. I would need to use the IRB to search again.

    is this a limitation to the user public? It happened for the authenticated user but...

    How can I make the default view for the user public?

    T101_cyberdyne wrote:

    How can I make the default view for the user public?

    Reverse the report for details on the loading of the page using a dynamic action of loading the Page with the following Execute the JavaScript Code real action:

    gReport.data.view('DETAIL');

    I'm doing a view instead of a default table view of interactive reports. So in this case I activated the details view so that I could make the fancy designs.

    Do you really need is an IR? Other that the layout of detail, do you need any of the interactive features? If not, try to use a standard report with a a report model custom.

  • 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. *

  • Is it possible to link an interactive report BiPublisher to Agile with a URL?

    Hi, I have an interactive report that shows a column with some SpecName and I want to click on one of them and be redirected to this specification on the Agile.

    I see that the tools of BiPublisher offers the possibility to create a URL.

    Is there a way to make this dynamic URL?

    Thank you

    Annarosa

    You can make the dynamic URL. See https://docs.oracle.com/cd/E28280_01/bi.1111/e22254/create_lay_tmpl.htm#BIPRD3258

  • Interactive report 'Save by default' does not not for me on hosted APEX

    Created an app on Oracle APEX Hosted site (apex.oracle.com) with an interactive report. Modified the column settings in the interactive report and went to 'Save the report' and does not appear the selection list "save under" to allow me to "Save as default". It's like APEX is not recognize me as a developer even if I am logged in as my account Admin I have even a "Developer" account I created and the same problem happening there as well. Everyone knows about this problem on apex.oracle.com? Thank you.

    VA - the toolbar developer must be enabled so that you can see these options, I think.

    Scott

  • Possible to sort in classic report and stopped by?

    4.2.1

    THM: 2

    Hello

    In conventional reports, we have the option to enable sorting for a report. However, we are not then allowed to have stopped by in the sql query. Is it possible to have active both by using workaround?

    Thank you!

    Delete the order of your query. Then, you can set a sort order by default for the report on the order_amount column. This default sort order would be used as long as the user does not change the order.

  • Interactive report with checkbox and editable field

    Hello

    For a project I'm working on, I need to create an interactive report in Apex 3.2 with the ability to select rows and change one of the columns in the report.
    To do this, I started by adding these two fields at the request of my IR selection:

    CB apex_item. CheckBox (1, product_number)

    and

    apex_item. Text (2, QTY_TO_ORDER) QTY_TO_ORDER

    CB is the files checkbox and QTY_TO_ORDER is the editable field.

    It worked like a charm and I had my two fields in the report.
    To process the values, I've added this page process, which currently must store only the "product number" and the "QTY_TO_ORDER" fields in a table.

    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count LOOP
    insert into mytmptable values (APEX_APPLICATION. G_F01 (i), APEX_APPLICATION. G_F02 (i));
    END LOOP;
    commit;
    end;

    However, this does not work as I want it to work. When I check the boxes of the two rows, it will store two numbers of good product lines, but it will take the field QTY_TO_ORDER two albums from the table, regardless of who those are checked. I was able to solve this problem, by adding a rownum in the query and using the rownum as the value for the checkbox control. Because I still need that the areas of product_number and qty_to order I made them two text fields.

    I changed my page process of:

    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count LOOP
    insert into mytmptable values (APEX_APPLICATION. G_F02 (APEX_APPLICATION. G_F01 (i)),
    APEX_APPLICATION. G_F03 (APEX_APPLICATION. G_F01 (i)));
    END LOOP;
    commit;
    end;

    This seemed to solve the problem, and I have now received the good values in the table, unless I used in the report to sort... As soon as I've sorted the report in a different way from that of rownum, I had bad values in the table. The reason is of course that my insert simply selects the nth line in the table, and my rownums are not dynamic.

    I found a lot of examples on the internet using "#ROWNUM #" in the selection, which is expected to spawn a rownum in the report. It seems to work in normal report, but in interactive reports, literal values "#ROWNUM #" appears.

    Is it possible to fix this?

    Hello

    Try with 3 fields:

    CB apex_item. CheckBox (1, product_number).
    apex_item. Text (2, QTY_TO_ORDER) QTY_TO_ORDER,.
    prod_no apex_item. Hidden (3, product_number)

    The hidden field should be view as a hidden column.

    Then your process can be:

    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count LOOP
    J in 1.APEX_APPLICATION. G_F03. Count LOOP
    IF APEX_APPLICATION. G_F01 (i) = APEX_APPLICATION. G_F03 (j)) THEN
    insert into mytmptable values (APEX_APPLICATION. G_F01 (i), APEX_APPLICATION. G_F02 (j));
    "exit";
    END IF;
    END LOOP;
    END LOOP;

  • Interactive report with filter Date

    Hi out there,.

    I've created an interactive report that contains a date column. Default filtering options only work very well. But my users need to filter the data contained in the report, for example if a line contains 21.06.2000 they want to see the value in this column to date filter list and not the default predefined (five years, last day and so on).

    I already tried to specify the date string and made a select... wanted my users to_char (date_column, 'dd.mm.yyyy') who beat the sorting, but gave me the filter options. Specifying the date as yyyy.mm.dd is not an option for my users.

    Is it possible to get a filter that displays the 'real' data and maintains the right sort order?

    Best regards and thank you
    Markus

    Replace with a greater - than sign and which functions as expected maceyah.

    Make sure that the screen - with respect to the column is 'delete the HTML code... '. ».

    Kind regards
    Malcolm.

  • Column header in the interactive report with special characters

    Interactive column heading in the report sorting and filtering is broken when I used special characters in it.

    Column sorting options appear in the wrong place and the page becomes unresponsive.

    Cause: I use a slash "/" in my query and who broke it. I tried ampersand and the same problem exists.

    Query: Select project name, status ' Open/closed' projects;

    This problem does not exist in the classical report, but only in interactive report

    Version: Apex 4.2.4

    Here's a demo app with the problem I'm talking about. Trying to sort the column entitled ' open/closed '.

    http://Apex.Oracle.com/pls/Apex/f?p=12289

    U:testuser

    P:test

    The issue is identical to an another forumn.

    https://community.Oracle.com/message/11156426

    However, I have just created this new discussion with the hope that this minor bug might be fixed in the next version of the apex.

    During this time, no workaround or suggestions are welcome.

    I tried to make the column "Remove HTML and special characters", but that did not help. I think I have a header of column with some special characters is a pretty basic requirement apex should support.

    Hello

    I guess simple fix is that not not to use the query column aliases where is /.

    But you can use ' Open/closed' as an attribute of the column header.

    Kind regards

    Jari

  • 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

  • Sorting of columns in report with the invisible column...?

    Hello

    I have a sidecolumn + in a single report, which must be sorted as * 1, 1, 1 +, 2, 2, 2 + *.

    There is a second column invisible rating_order+ where I have the real sort order * 1,2,3,4,5,6 *.

    It is possible to sort the column visible rating+ with the sort link on the column header, but sorting through the invisible rating_order+ column...?

    Thank you

    Jürgen

    Jürgen

    Make the rating_order visible column. On the page "Column attributes" for this column under development shaped column, assign Expression HTML #RATING #.

    CITY

  • Link to the interactive report with filters

    I want to put a link to a page that contains an interactive report. But the link must set up a filter for the interactive report.

    For example, if I am looking at a customer, I want a link that sends me the reports, but filtered to show only this customer already.

    Is it possible to do?

    Thank you

    Published by: user1415525 on September 21, 2009 07:34

    Hello

    Set a parameter Anthony to ##.

    Example: Set IR_ORDER_ID to #ORDER_ID #.
    or for you
    Set IR_CUSTOMER_ID to #CUSTOMER_ID #.

    (Of course you must change the column names)

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

  • Interactive report with named lov

    Hello

    Is it possible to use a lov named (a static in my case) in an interactive report?

    When you use is not an interactive report, it is possible and I can't understand why oracle would not allow it in an interactive report.

    Hello

    It would appear that you can do that (I don't know why, sorry!). You can try using an APEX_ITEM function and make it readonly.

    My suggestion, however, would be to create a join with APEX_APPLICATION_LOV_ENTRIES to convert your codes in the display LOV values.

    Andy

Maybe you are looking for