How to implement sorting on a group of records by clicking on the header?

I am using Oracle Forms 6i. Now I have a table of records having a column header in a custom form. Now I want to sort that column data by clicking on the column header (showing an arrow mark of asc/desc while I press the button). How to implement this? A sample code will be very helpful.

Hi
We can't set value to system forms dbdatasource , only getvalue is allowed .
For i = 1 To oMatrix.RowCount
       oEditText = matrix.GetCellSpecific("column name", i)
       oEditText .String="15"
Next
Regards
Arun

Similar Messages

  • How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table

    Hello,
    How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table ?
    Thanks

    hi,
    Check out this link for sorting in Table.
    Sorting option in WebDynPro ABAP UI Table
    steps to follow :
    ->Have the data in internal table (itab).
    ->Now use sort command for the particular column which ever you want to sort.
      e.g sort itab descending by <Column>.
    ->Now you can bind the internal table with the Context Node which is binded to Table.
    I hope it helps.
    Thanx.

  • How can I sort albums in a genre by release date in the itunes store

    How can I sort albums in a genre by release date in the itunes store

    Did you figure this out? Am having the same problem.
    EDIT:
    Found the group in store (in this case Juana Molina) It said music -> alternative
    Changed to column view, and could not find the artist at all in any of the sub categories.
    iTunes is really the biggest pain in the .... and has gotten worse over the years.

  • How can I sort photos within an event? When I follow the Help instructions, I can sort manually in Photo format, but when I return to Event format, the original order is restored.

    How can I sort photos within an event? When I follow the Help instructions, I can sort manually in Photo format, but when I return to Event format, the original order is restored.

    Events are organisation for those who can't really be bothered. They are automatic - based entirely on Date and Time the camera records the photos as taken.
    You can move photos between Events, you can Merge Events, you can Rename them and sort them in various ways except one: You cannot manually sort in an Event as Events are all automated.
    If you want to manually sort in an Event then you've outgrown Events as an organising tool. Now it's time to look at albums (Where you can manually sort) which are much more flexible than Events as an organising tool.

  • We used to be able to sort by multiple columns/rows at once by right clicking on the header and choosing show more options-how do we do that in the new Numbers?

    We used to be able to sort by multiple columns/rows at once by right clicking on the header and choosing show more options-how do we do that in the new Numbers?  It doesn't appear anywhere.  Do I now have to sort massive tables by each column one at a time now?  Also there used to be an easier way to merge/unmerge cells without me having to go to the table menu each time.  Am I missing something?

    Multiple column sort is a missing feature in the new version.  Hopefully soon to return. You can do a multicolumn sort by sorting one at a time in reverse order of importance.
    For merging and unmerging cells, I select the cells and right click to bring up the contextual menu. Merge and unmerge are on the menu.  You could also create keyboard shortcuts for Merge Cells and Unmerge Cells in the Table menu.

  • HT1451 If I have two iTunes libraries on one computer, how do I know which one is opening when I click on the iTunes icon on the desktop?

    If I have two or more iTunes Libraries on one computer, how do I know which one is opening when I click on the iTunes icon on my desktop?

    You cannot.
    When you sync to a new library, it will erase the current content.
    Use your backup copy of the old computer to copy everything to the new one.

  • How to do aggregation for each group of records?

    I have a Deals and Targets tables.  The targets are records used in a deal.  A deal can have more than one target, but each target can only have one deal.  I want to sum the targets that pertain to a deal.  I know how to use the SUM()
    method, but it applies to every row in a column which is what I don't want.
    Using the example below, this aggregation on the Targets' amount column would total 5 for Deal 1 and 8 for Deal 2. 
    How should this be done in T-SQL?

     I know how to use the SUM() method, but it applies to every row in a column which is what I don't want.
    Hi,
    Do you mean it sum all the rows by using SUM function? In your scenario, Jingyang's query works perfectly. Besides, you can use Group By clause, please refer to the sample query below.
    SELECT DealID, SUM(Amount) AS TotalAmount FROM Targets GROUP BY DealID
    https://msdn.microsoft.com/en-us/library/ms177673.aspx?f=255&MSPPError=-2147217396
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to sort data in descending order when user clicks on the column heading

    Hi
    I have a report called "Top customers", which shows the top customers for a specific product line. It displays the customer name and one column with the total amount spent in the period for each product line. By default, the leftmost product line is sorted in descending order.
    If the user wants to know who are the top customers for another product line, they simply click on the column heading to sort the list by that column.
    The problem is that when you click for the first time on a sortable column heading, Apex sorts it in ascending order; you need to click on the same column heading again to sort in descending order.
    Is it possible to change this behaviour and sort the data in descending order in the first click? So the users don't have to click twice...
    Thanks
    Luis
    PS: Apex 3 running on Oracle 10.2.0

    Luis,
    See: Can I "catch" a click on a sortable column header of a report?
    Take a look at Anton Nielsen's answer with regards to hiding a column and displaying its value instead of the sortable column.
    Asumming the following simple report query:
    select product,sales
    from <table>
    Change that into:
    select product
    ,sales*-1 as reverse_sales -- Select this one as an extra column
    ,sales -- Hide this column
    from <table>
    In your report column attributes (of column reverse_sales), html-expression, type #sales#. It then displays the normal sales. However apex will generate a 'order by 2 asc' for the first time. The '2' will refer to the sales*-1 value: sorting it asc, is the same as sorting sales descending...
    Toon

  • I purchased a season of a tv program. my library use to show how many episodes were in there. now nothing. when i click on the picture the episodes show up but with 2

    My library in itunes use to show how many episodes of Eureka season 5 i have. Now there is no number in the top right picture of the TV show. When I click on the picture it shows what episodes are in there but it has 2 # 13's. How do I correct this if at all possible?

    There are several possible causes for the Black Screen issue
    1. Permissions in the Library: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
    2. Minor Database corruption: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    3. A Damaged Photo: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). (On iPhoto 11 this option is under the File -> Reveal in Finder.) Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
    4. A corrupted iPhoto Cache: Trash the com.apple.iPhoto folder from HD/Users/Your Name/ Library/ Caches...
    5. A corrupted preference file: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    If none of these help: As a Test:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • How do I print a Numbers document?  All I get is the heading!

    How do I print a Numbers document on my Mac?  All I get is the heading!

    Hi L,
    What do you see after Menu > File > Print?
    Are you using Numbers 2.3 (Numbers '09) or Numbers 3.1?
    Please reply with a screen shot of a small part of your screen (large shots are often difficult to read).
    To take a screen shot,
    1. hold down the shift and command keys, then type 4. The cursor will change to crosshairs. Release the shift and command keys.
    2. Drag over that part of your screen then release the mouse/trackpad. A screen shot will appear on your desktop.
    3. In a reply to a message, click on the camera icon in the Toolbar above your reply and
    4. Choose File > Choose > Insert Image.
    If this does not work, Close the Insert Box (red cross on the top right) and go back to Step 3. Camera icon sometimes needs a wake-up call, but works the second time.
    Remove any personal details before taking the screen shot.
    Regards,
    Ian.

  • I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and paste and doing the header separately from the text.

    I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and pasting   the header separately from the text. I know there is a way besides a screen shot but I've spend hours trying to find it.

    Smurfslayer wrote:
    For the particularly persnickety types you might want to expose the full headers in the email message as well.  It's easy enough to do, from mail's 'menu' select "view"; then "message"; then all headers.
    Another option you could use is a screen capture using Grab.
    Activate Grab, then shift + command + w (for a window screen shot).  Then confirm the window selection and click the mail message. 
    Dave
    Why are you addressing this to me...?
    I am not the OP...

  • How to implement sort in hgrid

    Hi everyone,
    I'm into EBS 11.5.10
    I have HGrid with columns Employee Name, Position, Department, Location
    Our users want to sort the result of hGrid by Department, Position, and Employee Name.
    I've come accross to this link (http://www.oracle.com/technology/tech/blaf/specs/hgrid_flow.html#sort) w/c tells about sort nodes.
    Has anybody implemented such? Or a further document that can help.
    Appreciate for any reponse.
    Thanks a lot,
    Elmer

    Hi Kumar,
    Already did that. However, our users want to control the sorting. I've come accross a document to sort node or sort all nodes it's just that I can't figure out how to do such thing.
    Regards,
    Elmer

  • How can I sort photos on iPads, I have several models and the order is different on every one.

    We use iPads as photo albums. I have several model iPads and the photo order is different on Avery one. How do I get them to sort in the order I want, preferably alphabetically.

    It's a lot easier to use 3rd party apps like Photo Manager Pro. You just tap "Edit" and drag the photos around.

  • I have set up all my contacts in my iphone 4. How do i set up a group as i often send out the same email to 42 contacts?

    I have set up all my email contacts in my iphone 4. Am i able to set up a group as i often sent an email to 42 contacts?

    YOu will need to create that group contact on the server side, I don't think you can do it on the iphone itself.

  • How to disable automatic reload of all tabs when i click on the tab group ?

    when i open a saved tab group, it reloads all the tab, i want to keep it manual.

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    Useful links:
    [https://support.mozilla.com/en-US/kb/Options%20window All about Tools > Options]
    [http://kb.mozillazine.org/About:config Going beyond Tools > Options - about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    [https://support.mozilla.com/en-US/kb/Page%20Info%20window Page Info] Tools (Alt + T) > Page Info, Right-click > View Page Info
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]
    [https://support.mozilla.com/en-US/kb/Viewing%20video%20in%20Firefox%20without%20a%20plugin Viewing Video without Plugins]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]
    [https://developer.mozilla.org/en/Command_Line_Options#Browser Firefox Commands]
    [https://support.mozilla.com/en-US/kb/Basic%20Troubleshooting Basic Troubleshooting]
    [https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36 After Upgrading]
    [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins Troubleshooting Plugins]
    [http://kb.mozillazine.org/Testing_plugins Testing Plugins]

Maybe you are looking for