Bug - Sorting Order in SQL Reports not Working?

Today i defined a SQL Report in APEX and choose 3 columns for sorting the report.
The order is like that:
1. Category
2. List Price
3. Product Name
When calling the SQL Report in a new session i expected to get a sorted report like defined.
I got only the report like the last person who edited this report.
It looks like that the Sort Sequence columns is not usable in SQL Reports.
Here is an example based on the problems which i described:
http://apex.oracle.com/pls/apex/f?p=40082
below the SQL Report a screenshot is shown, where the Report Attributes (and the sort sequence) is displayed.

OliverL
Did you reset the pagination of the report you made the changes to?
Normal behaviour is that APEX remembers per user per report the last sorting that was used.
Including when a user clicked a column header to change the order from the default one.
The sort preference are stored in preferences with a name like FSPapp_id_Ppage_id_Rinternal region_id_SORT.
Nicolette

Similar Messages

  • SQL Report not Working

    We have this DCM report in SCCM 2007 and we want to migrate it to SCCM 2012. In SCCM 2007, this report is working when you run it in the sccm console, but does not work when you run it in sql management studio. The error that I am encountering in sql management
    studio is
    The EXECUTE permission was denied on the object 'fnBuildCICategories', database 'SMS_ABC', schema 'dbo'
    After importing this report in SCCM 2012, this report is giving me the same error when running from the sccm console as well as in sql management studio
    Can anyone help me resolve this issue. Here is the sql report
    declare
    @severity varchar(255)
    declare
    @cicontentversion varchar(255)
    declare
    @name varchar(255)
    declare
    @category varchar(255)
    set
    @severity =
    'Informational'
    set
    @name =
    '1.0 Compliance Baseline'
    set
    @cicontentversion =
    set
    @category =
    'Windows'
    if
    IsNumeric(@severity)<>1
    begin
    select @severity=Severity
    from v_CIValidationSeverity
    where
    Description=@severity
    end
    select
      loc
    .DisplayName
    as BaselineName,
      ci
    .SDMPackageVersion
    as BaselineContentVersion,
      cssev
    .Description
    as MaxNoncomplianceCriticality,
      summ
    .CountCompliant,
      summ
    .CountNoncompliant,
      summ
    .CountTargeted
    - summ.CountCompliant
    - summ.CountNoncompliant
    - summ.FailureCount
    as CountNotReporting,
      summ
    .FailureCount,
      summ
    .CountTargeted,
      summ
    .ActivatedCount,
    case
    when summ.CountTargeted>0
    then
    convert(numeric(5,2),
    100.0*summ.CountCompliant/summ.CountTargeted)
    else 0
    end
    as CompliancePercentage,
      dbo
    .fnBuildCICategories(ci.CI_ID)
    as Categories,
      ci
    .CI_UniqueID
    as Baseline_UniqueID,
    -- used for drillthrough
    from
    v_CIComplianceSummary summ
    left
    join v_CIValidationSeverity cssev
    on cssev.Severity=summ.Severity
    left
    join v_LocalizedCIProperties_SiteLoc loc
    on loc.CI_ID=summ.CI_ID
    inner
    join v_ConfigurationItems ci
    on summ.CI_ID=ci.CI_ID
    left
    join(select
    distinct CI_ID
    from
                v_CICategoryInfo cat
    where cat.CategoryInstanceName
    = @category
    or @category='')
    temp
    on
    temp.CI_ID=ci.CI_ID
    where
    CIType_ID=2
    and(loc.DisplayName
    = @name
    or @name='')
    and(ci.SDMPackageVersion
    = @cicontentversion
    or @cicontentversion
    =
    and(summ.Severity
    >= @severity
    or @severity='')
    and(temp.CI_ID
    is
    not
    null
    or @category='')
    order
    by summ.CountCompliant,
    summ.Severity,
    BaselineName, BaselineContentVersion

    I bet you have an SSRS exestuation account that has been given the correct permission within the CM12 db. Are you dbo for CM12 db? if not have you grant yourself db_reader and sms_report reader (local group) rights?
    Did you know that even if you do that this working, there is another issue with respect to converting varchar to int?
    http://www.enhansoft.com/

  • In Report,order by clause is not working

    Hi All,
    For the report i prepared the query in this one am using the order by clause,i run the query in the sql plus working fine am getting the data based on the order by clause.when i use the same query for the report am getting the data but not in the order(i.e order by clause in not working).
    Please help me how to do this one.
    Thanks in Advance.
    Regards,
    Leelakrishna.G

    Hi Dora,
    Data is coming in the proper sequence,but in the first group data is not coming(In first group data first line only displaying,remaining data is not comming).
    My req is:
    The report is executing based on the creation date(i.e.,from creation date to today).
    In this so many Purchase requisitions will be there for this one different approval in different times will be there.
    For Ex:
    we will take 2 PR number only(for the first one 3 approvals,second one 4 levels of approval).
    1. one supplier 1person raised by 1PR submit
    No Action
    Approve
    2. 2Supplier 2personraised by 2PR Submit
    NO Action
    Forword
    Approve
    with ur suggestion am trying data is gettin fine but first group first line is coming remaining data is not coing.
    EX:
    1. one supplier 1person raised by 1PR submit
    No Action
    Approve
    2PR Submit
    NO Action
    Forword
    Approve
    Note:"2. 2Supplier 2personraised by " this kind of lines data is missing.
    Can you pls check and suggest me how i can do this.
    Thanks in Advance.
    Regards,
    Leelakrishna.G

  • CDR report not working

    Hi,
    We have LYNC 2013 and Monitoring is enabled. the CDR report is not working. even User Activity summary for telconferencing and for audio, reports not working.
    Kindly suggest troubleshooting steps.
    Can we have any SQL query to fetch the report from database?
    Thanks
    jitender

    Hi Raju,
    From Monitoring server , CDR report is not working. Even "User Activity Report" not working and giving below error for "Telephony Conference" and as well for "A/V Conference"
    " No results match the report filters. Change the filter values and submit the query again."
    Thanks
    jitender

  • What will you do if any SQL is not working.in oracle 10g...apps 11.5.10.2

    What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2

    928714 wrote:
    yes sir.If you help me in answering my questions i wll be very thankful to you sir.
    tnx,I haven't a clue.
    As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
    For me to answer your questions, I would need to go get that documentation.
    Then I would need to read that documentation.
    Then I would need to write a forum post that interprets what I think I learned from that documentation.
    It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself.

  • Force encryption on SQL Server not working?

    Hello Everyone,
    I'm running SQL Server 2008 64-bit. I've installed a self-signed cert on the box and set  "Force Encryption"  and restarted SQL server. 
    I setup a client machine to trust the authority of the cert installed on the server. When I connect to that SQL server from SSMS from a client machine and select the "encrypt connection" option in the client Connection properties, SSMS correctly complains
    that the cert on the server does not match the computer name I asked to log into . This is because, although the cert is trusted, the dns name dos not match the CN in the cert <- Perfect, exactly what I am expecting.
    When I connect to the same SQL server from the same client but  UNCHECK "encrypt connection" on the client, I'm able to login. Considering I've checked the "Force Encryption" on the server, the server should have rejected the connection. Why not?
    Ameer Deen

    Hi all,
    We are implementing a Merge Synchronization solution which involves three SQL Servers located on three Azure locations worldwide and one on-premises location. We need to secure communications between all servers. We are evaluating the encryption of all server
    communications through SSL:
    http://technet.microsoft.com/en-us/library/ms191192.aspx
    When we configure one server (let’s call it server A) to accept only encrypted connections (with Force Encryption=Yes) we still can connect from other server (let’s call it server B) that do not have the certificate installed. We would expect the server
    B to fail in the attempt of connect as server A should only accept encrypted communications and those should need the certificated to encrypt/decrypt everything (commands and data).
    We have also review the following forum post that is very similar to this one:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bde679d9-ff83-4fa7-b402-42e336a97106/force-encryption-on-sql-server-not-working
    In all cases the Microsoft answer is:
    “When the
    Force Encryption option for the Database Engine is set to YES, all communications between client and server is encrypted no matter whether the “Encrypt
    connection” option (such as from SSMS) is checked or not. You can check it using the following DMV statement”
    When we run the provided DMV statement to check if encryption is enabled:
    -- To check whether connections are encrypted between server and clients
    SELECT encrypt_option
    FROM sys.dm_exec_connections
    We get “TRUE”. So theoretically encryption is enabled.
    Then:
    Why can we run SQL statements against server A from server B (with SSMS) without any certificate?
    Are we wrong when we expect server A to refuse any client that do not have the right certificate?
    How can server B, without any certificate, decrypt the data encrypted by server A?
    Our intention is to encrypt all server in the same way so all of them will accept only encrypted communications. We are assuming that the Merge Agent will be able to communicate with the Publisher and the Subscriber through this encrypted environment. May
    anyone please confirm ti?
    Thanks for your help.
    Best Regards
    Benjamin Moles

  • Drill down report not working in 1og report

    hi all,
    Drill down report not working in 1og.
    in 6i it working good but 10g not working .
    plz help any one.
    thanks

    Hello,
    For detailled instructions about hyperlinks :
    Oracle® Reports Building Reports
    10g Release 2 (10.1.2)
    B13895-01
    3.6.10.1.8 Creating a hyperlink using the Property Inspector
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_howto.htm#i1062802
    Regards

  • IPS event monitor and reports not working

    Dear after upgrading my IPS from E3 to E4  the event monitor  and reports not working, can you please advice my to solve this issues

    Hi All,
    Filter settings below:
    The filter works partially as I don't get alerts on the IPS itself.
    Firewall LOG:
    4          Feb 14 2014          15:33:22                              39715                    514          IPS requested to drop UDP packet from SOURCE_VLAN_NUMBER:/39715 to DESTINATION_VLAN_NUMBER:/514
    IPS LOG (when enabled):
    evIdsAlert: eventId=1352793300955167909  vendor=Cisco  severity=low 
      originator:  
        hostId: SSM02 
        appName: sensorApp 
        appInstanceId: 1192 
      time: Feb 14, 2014 15:33:22 UTC  offset=0  timeZone=GMT00:00 
      signature:   description=IP Fragment Too Small  id=1206  version=S212  type=anomaly  created=20030801 
        subsigId: 0 
        sigDetails: Too many small IP fragments in datagram 
      interfaceGroup: vs0 
      vlan: 0 
      participants:  
        attacker:  
          addr: 172.x.x.x  locality=OUT 
          port: 39715 
        target:  
          addr: x.x.x.x  locality=OUT 
          port: 514 
          os:   idSource=unknown  type=unknown  relevance=relevant 
      alertDetails: InterfaceAttributes:  context="single_vf" physical="Unknown" backplane="GigabitEthernet0/1" ; 
      riskRatingValue: 50  targetValueRating=medium  attackRelevanceRating=relevant 
      threatRatingValue: 50 
      interface: GigabitEthernet0/1  context=single_vf  physical=Unknown  backplane=GigabitEthernet0/1 
      protocol: udp 
    Our next step is to make a service policy exception on the firewall itself. We are also considering reloading the IPS device or at least the analysis engine.
    Thanks for all your help so far. Any more suggestions are most welcome. I'll keep you up to date.
    Regards
    Mariusz

  • After i install Visual-Studio 2013 crystal-report not working

    hi
    after i install Visual-Studio 2013 crystal-report not working on my Visual-Studio 2010 projects
    when i try to open crystal-report i see this:

    Hi E_gold,
    Crystal Reports forum may be a better place for you.
    Thanks for your understanding.
    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.

  • All share functions except email are NOT enabled. I can create and print but order prints is also not working. HELP!

    All share functions except email are NOT enabled. I can create and print but order prints is also not working. HELP!

    Hello
    Please see notes and 4 attachments for your reference. Hopefully this information helps.
    Maureen
    what version of iPhoto are you using? 9.5.1
    what system version are you running? OSX 10.9.4
    what happens when you try to order? See attached picture. I want to share pics to FB & FLICKR etc
    did you make sure you've selected the correct Print Products store in iPhoto's Advanced preference pane? YES
    what fixes have you tried? Restarted computer. I'm not very computer savy. I have had no problems with this in the past.
    where is your library located? I have not moved anything for iphoto.
    did you apply any updates or upgrades just prior to the problem occurring? I can't remember
    are you running a "managed" or "referenced" library? Not sure how to find this out
    what type of Mac? iMac 2.5 GHz Intel Core i5
    how much free space on your boot drive? 12 GB 1333 MHz DDR3 - I have an external hard drive 1 TB

  • Interactive Reports not working with APEX listener

    Hi,
    I have posted this question APEX listener forum couple of weeks ago but very few responses.
    If any one from here can help then it would be great.
    Interactive Reports not working with APEX listener
    Best Regards,
    Baig

    Sorry for late response.
    It was a firewall issue

  • Sql is not working after changing from MsAccess into sql server

    Following Sql  is not working after changing from MsAccess into sql server. 
    sum(trn.sales) as sales,
    sum(trn.cost) as cost,
    sales - cost as profit // Here is not working . can we not use sales a column. Please advise
    from trn
    Kind Regards
    pol
    polachan

    It will not work if use two different column from the table or column  from two  different table
    Example
    sum(trn.sales * trn.rate) as salesAmount,
    sum(trn.cost) as cost,
    sum(trn.salesAmount)-sum(trn.cost) as profit ----- Here is not working . can we not use sales a column. Please advise
    from trn
    Regards
    polachan

  • Sort in Report not working correctly

    I have a report with many sorts selected as an option within the reports attributes. However, some of the columns does not seem to be sorting at all when Selected (Others do as expected)
    For example one column is a VARCHAR2
    examples of values within this column would be
    (FY08Q1, FY09Q4, FY08Q2)
    with the sort ticked in the report attributes i would expected it to perform the following
    FY08Q1
    FY08Q2
    FY09Q4
    which it does in the SQL Command - just not in the report in the Application.
    Anyone know as to a reason why it may be doing so?
    cheers
    s

    Hi
    I just created a test table, called datetest, with one column, called quarter. I inserted your data in the following order:
    FY08Q1
    FY09Q4
    FY08Q2
    I tested in SQLPlus that it returned ordered data ok with Select quarter from datetest order by 1, this worked.
    I then created a simple report based upon the query used in the previous paragraph and the report ordered the data correctly, i.e:
    FY08Q1
    FY08Q2
    FY09Q4
    Can you post your query as I can't work out what is wrong here?
    Thanks
    Karen

  • SORT BUTTON ON PURCHASE ORDER ITEM OVERVIEW IS NOT WORKING

    Gentlemen
    We have recently upgraded our system from SAP R3 4.6 to SAP ECC 6.0. After the upgrade we have noticed an issue in transactions ME21N, ME22N, ME23N; despite the u201CSortu201D button on the item overview is available, itu2019s not working. It doesnu2019t sort (ascending or descending)  material, material text or any another column.
    Please let me know if there is a sap note to adjust this mistake or another advice.
    Thanks
    JM

    To fix this:
    Goto Personal settings --> Basic settings --> Item overview: "Check" Item overview as grid control.
    Once grid control is active, you should be able to sort columns.
    Hope this helps-

  • PL/SQL update not working against 9iR2 DB

    Hi,
    I am having a weird problem with several forms when run against a 9iR2 database. I have worked out that the problem only happens when referencing an unbound item in the WHERE clause of the update clause. For example:
    UPDATE table_a
    SET column_a = 'A value'
    WHERE column_b = :block.unbound_item;
    When I generate forms from Designer with this type of PL/SQL in a when-button-pressed trigger, it works fine against an 8.1.7 DB but does not update the record against a 9iR2 DB. If I put a specific value in the WHERE clause instead of referencing the unbound item, then it works. It also works if I put the value of the unbound item in a variable and then use the variable in the WHERE clause.
    If I create a simple form using Form Builder, which does not link to Headstart libraries, then it does work against a 9iR2 DB. I also tried generating a simple form out of Designer from a container not linked to Headstart libraries and that worked as well.
    Has anyone come across this sort of thing before?
    Thanks.
    Pierre.

    Pierre,
    I have heard from another customer that had a similar problem. I have not had time yet to investigate his solution, but maybe it can help you:
    For the other customer it seems to work fine if the update raises a CAPI error, but it does not work if the update raises a server error or a TAPI error (PK/UK/FK violation). The problem is that the rollback in abort_transaction is not executed.
    The other customer proposes the following solution:
    * in abort_transaction, don't clean up the error messages
    * in the exception handler of the button code, place the abort_transaction before the unhandled_exception.
    Pierre, do you also use CDM RuleFrame? Can you try if the tips of the other customer work for you?
    It sounds to me like this is a workaround for a database bug, which is OK, but it's better if the database bug is fixed. I would advise you to also check the available patches for 9iR2, or maybe report a bug yourself so a patch can be made in the future.
    It may also be related to the optimizer mode. See thread Transactions fail when OPTIMIZER_MODE=choose .
    Hope this helps,
    Sandra Muller

Maybe you are looking for

  • Cannot Connect to my YouTube Account

    For some reason when I tried to upload a video to YouTube from Final Cut Pro X it did not recognise the gmail account. The message Invalid Account or Password appeared. I changed the password and reclogged on and I still could not upload the video to

  • Nokia 5800XM internet problem.

    Hey guys, Iv had my phone for about 9-10months now and havent had any problems with it. Recently my landline provider has changed to bt. But when first tried to access the internet through my phone it asked for a WPA key i entered it but it was incor

  • Partial conversion of Planned orders to Production orders

    Hi all I wan tot partially convert planned order to production order. I am able to do this with MD04. Is there a tcode for mass partial conversion. CO41 does not allow a partial conversion. Is there a way I can collectively do a partial conversion. t

  • Infoset Reporting Problem

    HI, I have created a infoset with Sales Order, Delivery, Purchasing and GDP Forecast ODS based on Material and Plant Join. I am supposed to display the data from Sales as well as GDP Demand Year to Date and GDP Forecast values. For Year to date I use

  • E-mail and E-mail push on E63

    Hello everyone, i am new on this forum. Recently i decided to use my E63 to its full capacity. I tried to connect my personal yahoo account to my phone, i made a connection to the e-mail using the e-mail client in the phone (sub menu - messaging, e-m