Results 1 to 5 of 5

Thread: Lists

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    93

    Lists

    How can I sort lists in descending order? and how do i save a list's contents to an ini?

  2. #2
    Hyperactive Member MetallicaD's Avatar
    Join Date
    Feb 2001
    Location
    Tallahassee, FL
    Posts
    488
    by list, do you mean like an arry of elements or a listbox control?

    -mcd
    [vbcode]
    '*****************************
    MsgBox "MCD :: [email protected]", vbInformation + vbOKOnly, "User"
    '*****************************
    [/vbcode]

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    93
    yeah, listbox
    (Metallica Rocks!)

  4. #4
    Hyperactive Member barrk's Avatar
    Join Date
    Sep 2000
    Location
    My own little world
    Posts
    274
    use the property sorted on the list box

    listbox.sorted = true

    or


    pull your records from the database already sorted

    select * from mytable order by myfield

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    93
    that sorts it in ascending order, i want descending order, but thanks neway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width