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.

Tags: Database

Similar Questions

  • I'm on the 4.1.1.00.23 Apex vesion. I've created a classic report and I am trying to sort. Here's how I'm trying to sort by column name. I have TotPGPV with sorting sequence 1 desc and NewTOTPGPV with sorting sequence 2 desc. I have Count1, Count5 with t

    I'm on version 4.1.1.00.23 of the APEX. I've created a classic report and I am trying to sort. Here's how I'm trying to sort by column name. I have TotPGPV with sorting sequence 1 desc and NewTOTPGPV with sorting sequence 2 desc. I have Count1, Count5 with the sort column. What I'm asking is when the report is run can column sorting to default Count1 and Count5 descending instead of the ascendant. I don't see anywhere to set the default value for the sort column.

    Hi - on the report of the page attributes - that you show in your attached screenshot - you can select the columns to sort on the sort sequence as well as the direction of the sort, i.e. for a given column, you can choose to allow sorting on this column, what position this column must be in the sort sequence and whether to sort Ascending or descending by default (i.e. '1' means sort this column first and bottom-up and "1 desc") sort this column first and downhill). Don't forget that once you click on one of the headings of column during execution, it changes your sort settings and these settings are stored in your preferences, that is, they are used again the next time you log in your application and rerun the report.

    Kind regards
    Marc

  • How many people currently work at apple (by country, if possible), I write a business report and need to know the answer, thank you.

    How many people currently work at apple (by country, if possible), I write a business report and need to know the answer, thank you.

    Watch their deposits of the company. This community is to post technical questions.

    We are users like you. We are not Apple. If you wish to contact Apple use the link contact us at the bottom of this page.

  • Reversed icons in a sort of classic report?

    Hello
    Using version 4.0.1.00.03 of the Apex:
    When I create a 'classic' of the former report and allow sorting on a column, the arrow on the icon seems
    to point in the opposite direction.
    This caused me to pause, consider this and then do a bit of digging on this forum. Nothing
    relevant found in my limited research, so everyone knows it?
    For example, on a character column, a bottom-up research shows an icon with the arrow pointing down...
    The arrow pointing upwards usually in those cases windows Explorer.
    Curious to hear comments.

    Concerning

    Mungo

    Hello

    Yes, it seems that Yes. But you can restore the icons of the report attributes

    Kind regards
    Jari

  • 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 ;-)

  • Need help to sort a column in the classic report

    Hi I'm creating and classic report and I need to sort on the columns. I also use a selection list to filter the records in the column. When I do not use the list selection sorting works but when I'm on the selcet list and select the sort option, then it is showing error. If anyone can help...

    Thnaks,
    Rik

    Hello

    Is it possible see the source code?
    If you create the developer user to your workspace and post login information.
    Or you can send information to connect to me by e-mail. My email is in my profile

    Kind regards
    Jari

  • Sort a hyperlink column in the classic report

    4.2.1

    THM2:

    Hi I have a classic report with a hyperlink column. And I need enable sorting on this. What I did is

    Select '< a href = "somelink" >' | party_name | "< /a > ' party_name party_name table.

    However, I just need to show the hyperlink column in the report. Couple of questions

    1. How can I create party_name-based sorting logic using the updated classic sorting standard? Given that all a hyperlink names begin with < - sorting is random. I added the second party_name column an active by default sort on it, but given that the column can not be shown, is not a good way.

    2. I was wondering if there is another way to sort this classic report hyperlink column as shown in the hyperlink and sorting is enabled on the report?

    Thank you!

    ryansun wrote:

    Hi Fac586 - Yes, the requirements are not of the same report. We have several pages with the same type of aspect, however, some of them have a different feature. In this case, Yes, I too simplified it so that easier to understand. I use the hyperlinks on query sql rather that the link of the column is because we have about 5 unions in this query from different sources and each of those interviewing him, having a hypertext link and additional formatting like "BOLD", color etc, under certain conditions. Query1 will return only the party_name, the second query United would have hypertext links, the third would fat etc. The union of the request is not made to take into account this feature, but because of the nature of the data.  While the apex feature works very well, the only question I hit is the hyperlink column sorting in a classic report. Where the simplified question. Individual responses, I've had have been very useful and have been applied successfully.

    In this case, the request for a classic report that has column link, how to sort would work it would be on a regular character column.

    Option 1 (deeply inelegant): Generate an HTML comment containing the sort at the beginning of the column value. The value must be sortable using the character comparison semantics, so dates must follow the format YYYYMMDD, numbers padded to the same length with zeros etc: Re: problem with the Date command

    Option 2A: Expand the Expression HTML technique described in your previous thread (marking dynamically of columns in a "BOLD" for the highest value report) to include the tags.

    Option 2b: Use the HTML Expression technique described in the previous thread to include custom data attributes and use these to add links to dynamic actions.

    If this is done on several pages, and then create a view all the necessary logic and the columns which you can keep it in one place.

  • Classic report region is not refreshing using the DA

    Apex 4.2.2 on Oracle 11.2 use EPG in Linux

    I have a Camembert and I want user to click on a section and refresh a report classic region under the graph on the same page.  I've used various methods to try to get this working, but none succeeded.  Here's what I have right now - when a pie is clicked, a value is returned to a text P19_STATUS field in the region of report using javascript in a DA:

    AnyChart.getChartById ($("#chart2_chart_object").attr ("id"))

    .addEventListener ("pointClick", Function {}

    $s ("P19_STATUS", e.data.Name);

    });

    It works fine as I can see the value that corresponds to the label in the chart.  I created a second DA with an event of amendment to article P19_STATUS. There is a REAL action - Refresh.  Selection type:, Region: classic report (40).  I put also enable partial Page Refresh Yes on the classic report and the elements on the Page to be sent to: P19_STATUS.  When the user clicks on the cake the value is in P19_STATUS, but the report is not updated.  FYI, I also tried $('#report_region_id') .trigger ("apexrefresh");  in the second DA but which doesn't work anymore.  I want only the region refresh, not the page.  Please help - I'm fairly new to Apex, so please be as detailed as possible.  Thank you!

    Nicolette wrote:

    User12037683

    The missing part was that the report is a subregion of the chart area.

    Under regions have their own model of the region. Instead the use of models from the parent area area unit.

    Models of the region can be specified for the sub regions as all other regions. In this case it seems to be a problem with the sub-region model as it appears in the list of model as 48560037058667637086selection.

  • Classic report - add the column "select box"?

    I have a classic report and you want to add a column with a check box so that the user can select several lines and perform an action on all of the lines (delete selected, for example).  Looks like it should be easy and maybe integrated features, but I don't find it.  Is there a standard way to do this?

    Steve

    APEX 5.0

    Hello

    to add a box to your classic report using apex_item.checkbox like this API function:

    select
        APEX_ITEM.CHECKBOX(p_idx=>1, p_value=>DEPTNO)  as select_dept,
        DEPTNO as DEPTNO,
        DNAME as DNAME,
        LOC as LOC
    from DEPT
    

    You can access the values checked (for example in a process page)

    declare
    v_deleted_depts number := 0;
    begin
    FOR i in 1..APEX_APPLICATION.G_F01.count
    LOOP
      v_deleted_depts := v_deleted_depts + 1;
      delete from dept where deptno = APEX_APPLICATION.G_F01(i);
    END LOOP;
    :P1_DEPTCOUNT := v_deleted_depts;
    end;
    

    P1_DEPTCOUNT (hidden) is just for later interaction with this procedure - for example, you want to present your users with a message of success and error custom as "Deleted & P1_DEPTCOUNT. departments. »

    Maybe you would like to add an option to check all checkboxes at once. If so, read this blogpost Blog of Carl Backstrom: September 2007.

    Kind regards

    Pavel

    Edit: don't forget to toggle the leak key for special characters not your column "checkbox.

  • Aliging two tables side by side on a classic report

    Hello

    I have three regions on my page. The first two regions are of pie charts and appear side by side.


    The third area is a classic report and appears in graphic regions.


    The problem is that the first chart area has the same width as the region of the classic report. This causes a gap between the two tables. How can I remove the gap between the two graphic region, ignoring all that is the width of the classic report?

    The page below shows an example:

    https://Apex.Oracle.com/pls/Apex/f?p=76322:22

    Username: forum

    Password: abc123

    Thank you

    Zkay

    ZKay wrote:

    Thanks for the reply. It reminded me of the importance of mentioning the version etc.

    I use 11g with Apex 4.0. and the generator 101 Blue theme.

    So, please advise to what precedes.

    APEX 4.0, according to me, you will need to assign property attributes of the region HTML table cells of the region report colspan="2" or put the report on a different display area point tables, say body Page Template (1 points below the content of the region) for maps and body Page Template (2 items below the content of the region) for the report.

  • Search box of classic report

    Apex 5

    Theme 23-universal

    I just tried to create a classic report and I couldn't find the option in the wizard to add a search box.

    Was - taken on 5 Apex

    Gus

    Gus C wrote:

    Apex 5

    Theme 23-universal

    I just tried to create a classic report and I couldn't find the option in the wizard to add a search box.

    Was - taken on 5 Apex

    Think the option is available in the wizard to create a Page, but not when you create the report as a region to an existing page.

  • How can I get the classic report value when I click on the record?

    Hi all

    I have a simple classic report and I want to get the empno when I click on record. For example, when I click on record 1, and I'll go '7369', if I click on the 3 card, and I'll go '7521'. How can I do this? Please help, thanks!

    Hi jane.kuang,

    Jane.Kuang wrote:

    Thank you very much!!! Your message is useful for me. But this javascript has something wrong. When I click on the first time, the empno appears only once, but when I click on the other record, empno appear twice, and I click on the third time, it appears three times... I'm new to JS, I don't know how to fix it. Thank you!

    Use instead the dynamic action to that effect.

    Here are the steps:

    • Change your region classic report-> section 'Attributes'-> 'ID' static-> give an id say myempregion static
    • Create a dynamic action with the following attributes:

    Event: click on

    Selection type: jQuery Selector

    jQuery Selector:

    #myempregion table.uReportStandard tbody tr
    

    Action: Run the JavaScript Code

    Code:

    var empno = $(this.triggeringElement).find('td[headers="EMPNO"]').text();
    alert(empno);
    $('#P21_X').val(empno);
    

    Items concerned: keep it unselected

    • Change once created, your dynamic action-> go to section 'Advanced'-> set 'Extended event', 'dynamic'.

    This will fix the following in the code of the Para:

    • The jQuery Selector used by Para to trigger the click event is bad. This will fix the multiple alerts.
    • Para code won't work on loading the page, but if there are many rows in the table and pagination for the report is in place, and then when you paginate your report, it will not work. But it will work with dynamic action 'Scope of the event' the 'Dynamic' value even when you paginate the report.
    • Finally, most of the dynamic interactions page must be converted to dynamic actions, this will help the maintainability of the code, instead of stacking the javascript in your page.

    Kind regards

    Kiran

  • How to delete the record from the classic report?

    Hi all

    I am currently working in the APEX 4.2.5.

    I did a classic report and I want to click on the link 'delete' to remove the record.

    But how can I do this?

    Thanks in advance

    See this recent thread on the forum: https://community.oracle.com/thread/3687421?start=0&tstart=0

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • Column width classic report apex 5.0

    Hello

    Using the latest version of the Apex

    version: 5.0.0.00.31

    Information of the database: Oracle Database Enterprise Edition Release 12.1.0.2.0 12 c - 64 bit

    Theme: Universal Theme,

    Models Page and the region: Standard

    I wanted to know what is the correct way to set the width of a column on a classic report in the new theme.

    I have two columns in the classic report and uses the form fields Stretch on model options in region I need the report to take the entire length of the region.

    I want to control the width of the first column to take less bandwidth. Currently, each column is set to 50% each.

    Please provide your suggestions.

    Hi Madhu,

    Go to the Page attribute

    under CSS-> Inline-> put the code below

    td[headers="JOB"] {
        width: 200px !important;
    }
    

    Here, instead of WORK put the column heading that you want to increase the width

    Kind regards

    Jitendra

  • Check box in the header of the classic report: select all the report Archives

    Hi friends,

    I use Apex 4.2 worm.

    I've created a classic report and create the check box (apex_item.checkbox (1), EMPNO, 'DISABLED' tick,) in this report.

    My Code

    Select * from)

    Select

    apex_item. CheckBox (1), EMPNO, "DISABLED" tick.

    "EMPNO', 'ENAME', 'JOB', 'MGR', 'HIREDATE',"SAL","COMM","DEPTNO. "

    from EMP)

    where)

    InStr (upper ("ENAME"), upper (nvl (: P6_REPORT_SEARCH, "ENAME"))) > 0 or

    InStr (upper ("JOB"), upper (nvl (: P6_REPORT_SEARCH, "JOB"))) > 0

    ) and

    (nvl(:P6_ENAME,'0') = '0' or ENAME =: P6_ENAME) and

    (nvl(:P6_JOB,'0') = '0' or JOB =: P6_JOB) and

    (nvl(:P6_MANAGER,'0') = '0' or MGR =: P6_MANAGER)

    and

    (nvl(:P6_DEPT_NO,'0') = '0' or DEPTNO =: P6_DEPT_NO)

    I need to create the checkbox in the header of the classic as tabular report where if I click in the header box then all archives should be checked.

    How can I do this with classic report.

    If you want to see this issue in the workspace, then you can use the workspace details below

    Workspace: APEX_ISSUE

    User name: [email protected]

    Password: kaushik1@34

    Page no.: 6

    Thank you

    Hi Maxence,

    The above problem is solved. Please check the same.

    I added the following code in the header of the first column:

    
    

    NOTE: I used Carl Backstrom solution for this: Blog of Carl Backstrom: Mini check all HowTo

    But this solution works only when the first column in your report / table is a checkbox.

    If you have more columns rather than the first column where you want to check and uncheck all the features then follow the solution of Jeff Kemp:

    http://jeffkemponoracle.com/2012/11/15/select-all-Unselect-all-checkbox-in-interactive-report-header/

    I hope this helps!

    Kind regards

    Kiran

Maybe you are looking for