Control sort order of UDO Child

Hey All,
Can anyone tell me how I can control the display order of a document UDO lines matrix? We have document lines created that have a date in the data and the client would like the data to display with the newest entries on top.
Anyone know how I can do this?

I can see one possibility, but I have never tried it on a UDO screen.  Basically I am thinking you might be able to use a variation on a technique I described previously for adding sorting into a DBDatasource based screen
Re: Sort data in matrix using DBDataSources
Theoretically this might work for your UDO although you would also need to handle the fact that the UDO itself will be attempting to auto-populate the matrix whereas in my previous posting the matrix population was always under user control. (Either matrix.clear or set bubbleevent = false might handle this additional complexity)
I think you could probably end up with something like the following
- Intercept MATRIX_LOAD event
- ??matrix.Clear??
- **Populate Array from dbdatasource & Quicksort it**
- for counter = 0 to (DBDataSource.Size - 1)
-    Set offset on DBDataSource to **offset from Array**
-    Matrix.Addrow
- next
- ??BubbleEvent = false??
I have never tried it so it might not work out when it comes to updating, but on the plus side it should be pretty quick to add into an existing screen to test.
One final thought - For a <b>really</b> quick test to see if it is likely to work before going to the trouble of introducing the array & proper sorting routine, simply loop through the dbdatasource from last record down to first record and see if everything still works with the rows displayed in reverse order.
eg.
- Intercept MATRIX_LOAD event
- ??matrix.Clear??
- for (DBDataSource.Size - 1) to Counter Step -1
-    Set offset on DBDataSource to counter
-    Matrix.Addrow
- next
- ??BubbleEvent = false??
Hope it works out,
John.

Similar Messages

  • MDO select query: how to control sort order using parameter

    Hi experts, is there a way of controling the sort order of an MDO select query using some parameter?
    I was thinking about using some statement like CASE [Param.1] WHEN 'abc' THEN [ORDER_NO]...END in sort section of the query but it is not working.
    Of course I colud go for various select queries...but I am wondering if it can be done using only one?
    Any ideas?
    Thanks for any help

    Hi Marco,
    Yes this can be achieved dynamically using SortExpr under dynamic link assignment in MDOAction block if you are using a transaction to call it.
    Please check below thread:
    Re: MDO Query Action Block In MII Transaction
    Or else, this [Param.1] thing should work as well provided it doesn't get the logic part in it, just pass the columns names separated by comma. Haven't tried it though, will check it for you.
    Best Regards,
    Swaroop

  • How to Control Sort Order of Playlists in iTunes?

    As far as I can tell, somewhere along the way iTunes stopped sorting playlists alphabetically, numbers before letters, and started sorting playlists alphabetically, letters before numbers. Or at least that's how it now happens on my iPhone; I think the change happened with the iPhone 3.0 OS update.
    Has anyone found a better way to set a sort order than by putting "AA" and "AAA" in front of the playlists they want to have at the top of the list? Because that's an awfully inelegant solution -- to my mind, if you have to use a prefix at all, using 01, 02 et cetera was a far better way of doing things. Is there a setting I can tick to go back to the old way? Or, better still, a way to set that sort order arbitrarily, independent of the playlists' names?
    Message was edited by: Andrew Willett

    If you label your favorite/priority playlists as A1, A2, A3...B1, B2, B3
    Then they will sort the way you want (except on the iPod Classic which seems to have it's own sorting).

  • Sort order in iPad's Remote app

    I have a few smart playlists in iTunes. When I control iTunes from my iPad's Remote app, some playlists show up (correctly) ordered by Album, other smart playlists are ordered by song. In iTunes (on my MacPro), though, both are ordered by album. Is there a way to control sort order in the Remote app's window?
    Thanks.

    I have the same problem. I converted my ipad incompatible videos - shot with my digital camera - to work with the iPad and got 2 identical event folders on my iPad with the same name.
    If I rename the event in iPhoto both events on my iPad are renamed but still split in photos and videos.
    Hope this will be fixed soon with an iPhoto or iTunes? update.
    Cheers,
    Steffmond

  • Sort Order issue when exporting from DRM

    The sort order hierarchy (Parent/Child) in DRM is correct, and appears in the right order. When the hierarchy gets exported, some of the nodes are out of order in HFM.
    There are shared nodes in the hierarchy. There is a Custom Sort order that is set correctly for the hierarchy in DRM.There is also a Query that was created to export nodes that does not contain the word Shared.
    Ex
    DRM
    Parent 1
    Child 2700
    Child 2701
    Appears in HFM
    Parent 1
    Child 2701
    Child 2700
    The sort order is not correct in Smartview. Why would the nodes show correctly in DRM, but export out of order, and not show correctly in HFM?
    Any suggestions or comments would be greatly appreciated.

    Can you evaluate the DRM export results with the Hiearchy structure, also make sure the Default Hierarchy Sort on the Hierarchy has a value assigned to it, whether it is core or custom based on node ID, DRM should export nodes as they appear in DRM.

  • CUCM 9.1.1 ucmuser web sort order of controlled device profiles

    Hi !
    Anyone has an idea, how the web interface for the users (ucmuser) does sort the controlled em device profiles ?
    Or even better how to change the displayed sort order ?
    Changing the order of controlled device profiles in the user configuration in ccmadmin does not change anything in ucmuser.
    And the controlled device profiles in ucmuser seem to have no recognizable order at all, but the order keeps being the same,
    regardless any changes we make in ccmadmin.
    Thanks
    Ralph

    Hi.
    You can export all UDP.
    Edit it with Excel
    filter only entries with empty user
    Upload the modified file as UDP- UDP Delete Custom File
    Select delete device profile from BAT menu
    HTH
    Regards
    Carlo

  • How to Control the Sorting Order of iPhone Contacts from Outlook?

    In a series of editing steps we've loaded ca. 1,900 personal and business contacts from Outlook into a 1st gen iPhone with 2.0.1 software on it. To our surprise we found that while most of the entries were listed and sorted by company, certain entries were listed and sorted by the person's name. It looked random and there didn't seem to be any way to control it on the iPhone.
    While troubleshooting the problem we synced up the iPhone with an empty Address Book on a MacBook Pro and found that the sort order flag was indeed set differently on these entries. When we changed the sorting flag of a contact in the Mac's Address Book to "Company" it also changed on the iPhone after the next sync.
    Problem: In our business environment it is impossible to switch to Macs for contact administration. We need to do it from Outlook. This is one of several features needed for the adoption of iPhones.
    Question: Is there a way to control this flag on the individual iPhone contact entries from Outlook Contacts?

    Well, I think we figured it out.
    Outlook doesn't offer a sorting flag on person or company name. Instead it uses a separate "File As" string. The problem with our contacts was that this "File As" string was frequently edited to be something else than exactly the personal or company name, e.g. it was set to an abbreviated company name. Once we set the "File As" to any of the defaults offered, i.e. person or company name, the sorting flag in iPhone was properly set through the synchronization.
    Obviously, the application logic compares the content of these fields in Outlook and decides how to set the flag. If it can't find the company name in "File As" it defaults to person.
    This was an expensive holdup for us. It cost us 2 man days to figure it out. Is there any place where such application logic is described?

  • How to control photo sort order in flickr publish folder

    Using LR 5.3 and trying to control the sort order of photos in a Publish folder (Flickr). When I drag-and-drop the photos, they never end up in the location indicated by  the dark black bar that appears under the mouse cursor. Usually appear within 5 or 6 places of the dropped location, but sometimes up to 20 places away from the dropped location. Futzing with the location sometimes gets them closer, but not always. It's very frustrating. I've seen comments about certain restrictions for manual sorting (e.g. not feasible in Smart Collections), but no specific reference to sorting in a Publish service. Is there a way to put the photos into the exact order that I want in a Flickr Publish folder? (Note: drag and drop does not work correctly... that's the problem).

    Click the Action icon > show view options > Arrange by none > sort by name.

  • Sorting order for Highlights, Shadows, Whites and Blacks controls.

    I absolutely love the new set of controls as compared to the similar options in LR3.  With just these 6 controls and a few seconds I can get my image looking great.  One thing is making me crazy though, the four controls are logically sorted "Whites, Highlights, Shadows, Blacks" in terms of the range that they impact.  If the controsl were sorted as I suggested, I would be able to think through the problem of fixing a particular image more efficiently.
    Has this been discussed or considered?

    tomalphin wrote:
    I should add, with only four items in question, putting the two you are most likely to use slightly closer together will result in little gained efficiency.  Having them sorted in a manner that is easier to teach, learn and internalize will likely lead to better results for a larger percentage of users. 
    Further, if they were sorted in the manner I suggest, it would be possible to further strengthen the understanding of how the features work by showing a color curve overlay on the histogram.  This would make it even easier for folks to understand how these six abstract controls affect the image.
    It sounds like there is a mix of rational and reactive pushback to this approach from the vocal audience on this forum.  I would be very interested to see how the two compared in blind lab studies with participants of comparable experience.  (Including new  and existing users... I would like to think that Adobe is saavy enough to realize that it is important to court new users if they want to grow their customer base and profit opportunity.)
    If there's one thing we can pull from this whole discussion, it's that there's no way for Adobe to make everyone happy on this issue.  There just isn't.  Some people absolutely hate that the sliders are ordered as the are in LR4b, others seem to think it makes perfect sense.  Both are adamant in their stance.  So now it becomes this whole over-blown issue of," What percentage of users like it this way compared to that way."  I'm sorry, but I just don't understand why it's such a big deal.  Is it that hard to use the controls in the order that Adobe placed them in LR4b.  Really?  Is it?  Is it really that slow for you high-volume photographers out there?  Is it really something that you won't completely get used to in all of a few hours of using LR4?
    The current sort order of the sliders in LR4b is not necessarily just an order-of-operations that is being thrust upon Lightroom users.  The rationale is that the controls follow an order which, in most cases for most photographs, flows from the most global adjustments to the most specific.  It's more than just an arbitrary ordering based on "what Adobe says we ought to do first".
    The truth is, while I understand Adobe's reasoning here, I really don't care what order the sliders end up in.  Why?  Because it really doesn't matter all that much, at all.  I mean, think about it.  Let's say that the current order of the sliders in LR4b makes it to the final version.  Are users going to keep using Lightroom 3 in protest?  No.  Are users going to keep all their photos in PV2010 expressly because they simply can't handle the order of the sliders in PV2012?  No.  The reason that nobody will go to such lengths is that it's reallly just not that important.  This is an exceptionally minor issue of personal preference that has less weight and importance than the hard drive space at Adobe used to store all of the threads that have popped up in complaint of the slider order.
    I know that everyone vehemently arguing against the current slider order will whole-heartedly disagree... but I simply had to put in my two-cents.  The issue of slider order is so miniscule that I cannot fathom why so much has already been written about it.
    EDIT*****
    An afterthought...
    Really?  "Blind lab studies" to scientifically determine what order to put LR4 sliders in?  C'mon guys... you've got to be kidding me...

  • Mail Sort Order and Logitech Control Center 3.1

    LCC Scroll Enhancer Loader.osax is a Scripting Addition in /library/scriptingadditions that reproducibly causes the sort order in Mail to revert to Date Received/Newest on Top. With LCC Scroll Enhancer Loader.osax in the Scripting Additions folder, you can change the sort order for a folder, but when you click on another folder and return to the original, the sort order reverts to Date Received/Newest on Top.
    Removing LCC Scroll Enhancer Loader.osax and restarting Mail remedies this problem.
    Can anyone else confirm this occurs in their system as well (10.6.1)?

    I upgraded to Snow Leopard (10.6.2) from 10.5 yesterday and noticed this Mail sort problem straight away. Concurrently I upgraded to Default Folder 4.3.3 and LCC 3.1. Following the advice of you guys, I've excluded Mail.app in System Prefs/Default Folder/Settings/Advanced and lo and behold date sort is working normally again.
    I mean, I've spent 15 years having most recent at the bottom and it's very wrong to have it at the top!

  • Controlling the sort order for a column?

    I have a column which uses strings that I want to sort on. But, I don't want to do simple string sorting. Can I effect the sort order somehow? Maybe enumerate the values and assign integers to them?
    For example, I want to use Low, Medium, and High. Or maybe: L-, L, L+, M-, M, M+, H-, H, H+
    Any pointers on how to do this?

    Todd,
    Not knowing what you're trying to sort, it is difficult to make specific suggestions. Basically, two approaches come to mind. 1) start the lines of the column you want to sort with some type of sort code or 2) place that sort code in another column and sort on two columns - possible hiding the one with the codes.
    The next problem is designing a code that fits your situation. In the example you gave something like 1L-,2L,3L,...,8H,9H may work because there are only 9 categories. If more than 9, two digit numbers may work but remember to use leading zeros to pad single digit numbers.
    The code could also be alpha characters with relevance such as "Auto", "Clot", "Food", "Hous", "Misc", etc. But again, if these alphabetic categories are not in the order you like you may have to precede them with some sequence device to get what you want. Maybe something like "aFood", "bClot", "cHous", etc. would work. Designing a code applicable to a given situation that one can easily remember is not always easy.
    Hope this gives to something to think about and if you care to give more details you'll surely get some specific suggestions.
    pw

  • Control of sort order for asian language navigation

    I am a help writer who is working with both development and a localization vendor to create localized javahelp. I am the most knowledgeable about javahelp, which is not saying much. It has come to me to figure out how to establish the correct sort order for Simplified Chinese and Japanese language Index and Glossary navigators, Could someone explain to me how this is done outside of tools like RoboHelp (which has caused us major headaches yet seems to be the only way the vendor knows how to do JavaHelp). In layman's terms, please.
    thanks,
    ellen

    Same issue here, and the bug syncs to my iPhone, so when I want to quickly text or e-mail someone, their phone numbers and e-mail addresses appear in the wrong order, Work or Home before iPhone or Mobile. How can we get this big fixed in the next Snow Leopard update?

  • N9 Photo Gallery sort order - based on what?

    Hello,
    I am thrilled with my N9, but have one problem: I want to use the phone to keep not only photos made with it. I therefore saved extra photos in the Pictures folder. They appear in the gallery, but in a weird order, not based on either the name, EXIF date, modification date or creation date. Is there a possibility to sort them on either of these? All I want is to control the sort order. After all, it is MY gallery...
    On my previous phone (N8) sorting was based on the last modification date. Also not optimal (EXIF date would have been perfect) but still controllable.
    Solved!
    Go to Solution.

    Well, maybe those pictures were never edited outside the phone, I don't know.
    Anyway, I believe I found the explanation: I exported the photos from Picasa, maxing them to a resolution of 1600xXXX. This way all files were created... today. Nevertheless the EXIF information is correctly saved by Picasa, so Date Image Taken was preserved. Although I modified in all files the creation date to be equal to EXIF Date Image Taken (ACDSee/batch/AdjustTimeStamp) , and then also renamed all pictures based on that, the "new" creation date still remains saved somewhere in the picture files and the Gallery sorts the pictures on it! The pictures were sorted in the reversed order I exported them from Picasa... Bad.
    Anyway, since this is not a request forum, it would be futile to say (again) that Nokia should use the EXIF Date Picture Taken for picture sorting. So I don't say it (!).

  • SORT ORDER WITHIN GROUPS

    Post Author: Kara
    CA Forum: General
    Hi,
    I am using version 9. I have designed a report based on an access control database. It shows a person's time in and time out, then totals these hours. My report is grouped as follows:
    Department
    Date/Time
    Unique ID
    The main data of the report is shown in group footer 3 (Unique ID) and is displayed in numerical order. I need to change the sort order to display by last name, first name but because I have grouped by unique ID I can't seem to be able to do it!
    Any help gratefully received,
    Kara

    Post Author: CoolTowers
    CA Forum: General
    I use a similar report to track service personnel who also have a unique ID.  I have mine set up as follows - maybe this'll help.
    I used selection expert to specify the dates I want to see. 
    Group 1 sorts on the unique ID. Instead of printing the unique ID field in the group header, I have Employee.EmpName.  They'll come out in their unique ID sort so the names might be a little out of order. If that's a problem you could put sort option on that field.
    Group 2 sorts by the Job ID, with the group header suppressed.
    Detail line has location, job id, date, time on, time off, total time in hours and if it's completed.
    Group 2 summarizes at date and amount at the job ID level.
    Group 1 summarizes at technician.
    I get very accurate reports to match against their hand written time cards.
    Perhaps if you re-arranged the grouping?

  • How to keep sort order in Shuttle item's source and destination boxes?

    I have defined a shuttle item on a page and the list of values in the source box is populated by a SQL with sort order specified. In the Settings of the shuttle item, Show Controls value is set to Moving Only instead of All. When a user moves selected values from the source box to the destination box or vice versa, the list of values does not maintain the original sort order. For example, if I have 26 values A through Z, a user can put value Z before A in the destination box. And when a user move A from the destination box to the source box, A is the last item in the source box. The reset button clears everything in the destination box and resets the source box to the original sorted list. This is not the solution that I am looking for. I would like to see the items in the source and destination boxes to maintain their original sort order all the time.
    Is it possible?
    APEX v4.0.1.00.03
    Oracle 11g (v11.2.0.1.0)

    Hi,
    See if this post help
    Re: Sort Shuttle Right
    Regards,
    Jari

Maybe you are looking for