Sort the list from the bottom to the top poster

I have a form that has 2 selection lists (coded 1 pulling from a database and 1 which is manual).
Which is manual code list very well. The first item in the list is displayed as a default. However, the list that pulls from the database starts at the bottom of the 'Z' list as the default. You will need to scroll to the top.
Any suggestions on how to fix would be great.
Code:

This query uses a view that sorts the CSA of the city.
< = 'City' datasource cfquery name = "MYDATABASE" >
SELECT *.
OF dbo.vw_city
< / cfquery >

< select name = "City" id = 'City' >
< option >(Select city below) < / option >
< cfoutput query = 'City' > < option value = "" #City.city # "< cfif (isDefined ("City.city") AND)"
City.City EQ City.city) > selected = "selected" < / cfif > > #City.city # < / option >
< / cfoutput >
< / select >

It worked!
Thank you for your help.

Tags: ColdFusion

Similar Questions

  • How can I get Bookmarks Toolbar to go to the bottom of the list at the top?

    Just reinstalled 27 after a crash of my PC. I imported my favorites from my HTML code, but cannot get the bookmarks toolbar to return at the top of the list of bookmarks, above Menu bookmarks.

    Also, how can I get my bookmarks toolbar folder bookmarks will appear at the top of my screen again? Thank you!-Liz

    Looks like you have two folders that are labeled Bookmarks Toolbar, what happens when you 'import' a bookmarks.html file. "Import" adds existing bookmarks located in Firefox; do a "restore" a json backup would have replaced all existing bookmarks by those that are in the backup backup json file.

    You need to "reorganize" the bookmarks that are located in the Bookmarks Toolbar folder lower (bookmarks that you have any) and enter these bookmarks in the current folder to the Favorites bar, which is at the top of the list.

    https://support.Mozilla.org/en-us/KB/sort-bookmarks-quickly-find-ones-you-want#w_rearranging-manually

  • My Windows Live Mail is sorted in alphabetical order by family name, but now, when I add a new contact, it is positioned at the top of the list instead being placed in the right place alphabetical.

    My direct mail is sorted in alphabetical order by family name, but now, when I add a new contact, it is positioned at the top of the list instead being placed in the right place alphabetical.  How to load the list of contacts to organize all contacts, including contacts, in alphabetical order by family name?

    E-mail address is removed from the privacy *.

    My direct mail is sorted in alphabetical order by family name,

    It is not clear what you mean by this statement.

    • There is an option in the contacts window in kind (names) of > name -is that what you mean?
    • Or that, when you open / switch to the contacts window, you see a list sorted by last name?
    • Or that when you click on to... or start typing in the to... box in a message composition window, you see a list ('contact selector') sorted by family name?

    Only in contact with an e-mail address will appear in the "Chooser". The list includes names in alphabetical order. For contacts with a first name and a registered name , the list will be sorted based on the preference granted to sort by in the Contacts window. Contacts with multiple email addresses will appear once for each address with the address in brackets after the name.

    Name is a special value built by WLMail contact data fields. It will consist of the first match found during the analysis of the data fields in the following order:

    1. Nickname
    2. First name + last name (in the order specified to sort by in the Contacts window)
    3. First name or last name
    4. Company
    5. E-mail address
    As you start typing in of... box, WLMail will present a list of matching entries in your contacts list. You can start typing username, first name, first name, company, e-mail address to a contact or any significant word in the Notes field for this contact. So, if you type bil, for example, the list that appears will include
    • any person whose nickname starts with Bil, e.g. Billyboy
    • any person whose first name begins with Bil, e.g. of Bilbo Baggins
    • anyone whose first name begins with Bil, for example Jim Bilko
    • everyone whose company name starts with Bil, e.g. Billingsgate Market
    • everyone with an address of e-mail from bil bil or just after a period or the ' @' symbol, for example "the bilbo at hotmail dot com" or "jim to billingsgate dot com" or "jim.bilko at hotmail dot com.
    • all categories whose name contains a word starting with bil

    If this does not solve your problem, please post your question in the forum dedicated to contacts in Windows Live Mail.

    Noel

  • Sort the list of open windows in descending order when windows are combined in the taskbar

    Sort the list of open windows in descending order when windows are combined in the taskbar

    I like to combine windows in order to access all my programs in the taskbar. I have tons of open Outlook messages that I need to respond to the last open order to open older. The problem is that the list of the oldest opened open again, and I have to constantly scroll to the bottom of this list to access the most recent message. Is there a way view the list by e-mail open newest to oldest?

    It would be a time saving of huge productivity for me, and I saw that many of my colleagues would benefit as well.

    Thanks in advance for your help.

    Sorry there is no function like that.

    You can consider using Outlook flags instead.  Arrival of emails, you will need to respond to, click the red flag on them.  They will appear in your Outlook ' to do' list so you can keep track of those you will have to answer to and check the power off when you are finished.

  • How can I remove the sort of conversations from windows livemail, but keep the chronological order?

    How can I remove the sort of conversations from windows livemail, but keep the chronological order?  The standard options do not seem to understand my Inbox of sort by chronological order of!

    On the view tab, select Conversations > Off. Then click on display a line below the list of messages. Right-click on a column heading to select the column, drag a column header to reorder the columns, and click on a column heading to sort by that field.

    Windows Live Mail has its own support at the Windows Live Solution Centerforums. Please address any other question you may have on one of the forums on the right side of this page.

    Noel

  • Sort the list Xml

    Hello
    I am trying to learn actionscript 3 for work and have a very specific, so that I need. I have been searching every tutorial available have bought a few books to read, but I don't know how to do a few simple things.
    The main thing I have to do right now is to sort a list xml from the date of an event before you start picking up the nodes to display. (< dt_event_start >) I need the function to be able to sort by date or by alpha for a different xml list I will be sorting later, not both at the same time, just one or the other. My code is sparse at the moment, there is no what to look for in a certain city events and write all in a large list to a text box on the screen. Later, I'll have to separate each part to make a header for each event and choose the nodes to display, so I need to sort the xml list before starting to show the nodes in the areas of separate text within a larger container repeated with a loop through the list.
    There is an input xml and as3 code, I have for the moment
    Any help would be greatly appreciated, and then I can go get the other code I need.

    You cannot use sortXMLList as an event handler - does not match the signature of the function. Try like this:

  • How you sort the list of the next iOS 10?

    I can't know how to sort the list by following in-app music on my iPhone 6 s.  In iOS 9, he had a handle on the right side next to the title of the song that you can tap and drag up/down to change the order of the playlist.  The handle does not appear in the App on iOS 10 music.

    So I guess you can't have activated repeat function.  Once it is off, the handles appear and you can sort your list of songs until the next.

  • I want to remove "list of pocket" from the top of my favorites.

    This is a link that leads me to the Pocket web site that appears at the top of my favorites under "show all bookmarks". When I click on it it is there no option to remove this bookmark. I have not installed Pocket. I looked at and I'm not interested. I don't want to give up a valuable real estate at the top of the bookmarks.

    I read a lot of posts and the help page on how to remove it from the toolbar is not relevant (is not here).
    I also tried to disable the subject Pocket: config by activating / deactivating false values.
    Nothing helps. He uses a lot of space and in the public eye, I find it very annoying and I would like to remove it.

    If browser.pocket.enabled is set to false on the topic: config page then you will need to undo this and set the pref to true to reappear the Pocket button.
    Make sure that the button of the Pocket is placed on the Navigation bar, you can click this toolbar button and use "Remove from toolbar" to turn off Pocket properly.

    You can click on the button of the Pocket (except Pocket) and click on "Remove from Toolbar" or "Remove menu" to turn off the Pocket and move the Pocket to the palette to customize button.
    That will remove the 'Pocket display list' entries in the bookmarks menu.
    This only works if browser.pocket.enabled = true
    When you have moved the Pocket to the palette to customize button and the Pocket in the bookmarks Menu items are hidden, then you can turn off the Pocket and change these preferences and close and restart Firefox.

    • Browser.Pocket.Enabled = false
    • Browser.Pocket.API (net value)
    • Browser.Pocket.site (net value)
  • After the recent update 38.1.0, my local files moved to the bottom of the list of accounts; How their return to the top?

    I have 30 + our organized in thunderbird and I structured the list of accounts to get a quick overview of all accounts. the recent update to thunderbird things around substantially changed; now local folders are down on the list and imap accounts are on top. I can't find a way to change where to display the local folders; the add-on "Manually sort folders" does not help with the position of the files local vs other accounts.
    What Miss me? Any thoughts?

    I found the solution: the add-on "manually sort orders" has been altered after the Thunderbird upgraded. I've uninstalled and reinstalled it and the possibility of local folders on the top worked again.

  • I would like to have at least 1 of my toolbars that are displayed at the bottom of my browser open screen. How can I move a toolbar from the top to the bottom of the page?

    I would like to have at least one of my toolbars that are displayed at the BOTTOM of my browser open screen. How can I move a toolbar from the top to the bottom of the page? I don't want to do this by using an extension, and when I read about the extension, I really have not seen how it would move the toolbar to the top-down any browser page open.
    Thanks in advance for the supply, the answer and the procedure to get this accomplished.

    You can't drag an entire toolbar to the bottom of the window. The Bar of the Addon is a "toolbar", drag whatever you want from the Palette to customize or a toolbar up to the bar of the Addon.

  • How to sort the list of purchased Apps?

    There are a lot of App Store Apps I tried, found did not work for my needs [some trigger migraines] and deleted. Is it possible to sort the list in the App Store, by installed fee removed, free vs, etc.. ?

    N °

  • To sort the list of files by time not the file name.

    Original title: created the new toolbar on the sort option for changing the taskbar.

    I created a new toolbar on the taskbar, and it is directed to a folder in my network. When I click the new button on the toolbar, it opens subfolders sorted by filemane. Then, open the sufolders with files sorted by filemane.

    I want to sort the list of files per hour not the file name. is it possible to change this?

    Here's what I did.

    I right click on the taskbar - selected toolbars - selected new toolbar - selected the folder on my network.

    When I click the double chevron right the new toolbar button, it opens the files in this folder, and then I select a subfolder and an another subfolder then the individual wave in this final folder files. There are more than 300 wave files in this folder. It sorts thenm by file name which is a randomly assigned file name by the used recording software. I want to sort the files by time instead of file name. is this possible?

    Hi Jeffrey,.

    How many computers are present in the network?

    You can follow this link & check id the issue persists:

    How to arrange files using folder views in Windows XP?

    Reference: The order of sorting files and folders whose names contain numerals is different in Windows Vista, Windows XP and Windows Server 2003, in Windows 2000

    Hope the helps of information.

  • taskbar - has moved from the bottom of the screen to the top and I can't move it to its default position

    the taskbar moved right from the bottom to the top of the screen.  I can't move it to its default position, the bottom of the screen.

    the taskbar moved right from the bottom to the top of the screen.  I can't move it to its default position, the bottom of the screen.

    It's a matter of Windows not a question of IE.  However, FWIW, what I would do is disable Auto-Hide, and then use the menu item move the taskbar, for example Alt-space, M and then do a few movements of the cursor to see where you can get it at.   That's actually what I did in XP.  I am now on W7 and apparently this Alt-space, M thing does not work here.  In W7 they apparently now actually do less esoteric function, for example, there is an explicit option for this in the taskbar properties dialog box.  Who would have thought?  I don't know what the State of this feature in Vista.   Try both?   ; )

    Good luck

    Robert Aldwinckle
    ---

  • I have several screens with different resolutions, how can I make work stations match from the bottom rather than the top?

    I have 2 screens at 1920 x 1200 pixels and one in the middle with 2560 x 1600.  When I move the cursor from one screen to the other, the cursor jumps (of course), but in this case, the vertices of the monitors are (it moves from the top of a monitor to the top of the other) and I would like the background to match (to the top of the Middle monitor space with no corresponding areas on the other two).

    As the two side monitors are physically smaller and shorter that the Middle it's jarring to see the cursor jumps 3 inches upward when I switch from one to the other.

    Is it possible to adjust the display settings so that they justify bottom instead of the top?

    To be clear: I want to be able to move my cursor along the bottom one down the next and having the high bit to space rather than being able to move the cursor along the top with the bottom being the extra space.

    Thank you
    Trish

    In the window display settings, where it shows the monitors, click and drag them to the bottom of all monitors line up horizontally. Boulder computer Maven
    Most Microsoft Valuable Professional

  • Add new instances to the top of the bottom of the list (table or group) vs

    Is it possible to add new instances (i.e. of a table row, or a subgroup) to the "top" of the bottom vs list? New instances are usually added at the bottom of the group, but I have a case in which I am trying to insert new instances of more recent story of Job, so have the instances added at the top of the list is more advantageous.

    Please advise and thanks in advance!

    Hello

    to add an instance on the top use the menthod of insertInstance() instead of addInstance().

    Table1._Row.insertInstance(0, true);
    

Maybe you are looking for