Results 1 to 4 of 4

Thread: database listbox sort?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Location
    Spring Valley,ca
    Posts
    4

    Post

    Is there a way to alphabetically sort the contents of a database listbox? In other words, I would like the listbox to be displayed in alphabetical format.

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Change the Sorted property of the ListBox to True.

    Regards,

    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]



  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Location
    Spring Valley,ca
    Posts
    4

    Post

    thanks for your help but
    the databaselistbox does not have a property
    called "sort".I think your are referring to
    a simple listbox.

    thanks anyway

  4. #4
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    What do you mean by Database Listbox???
    If you mean DBList then you can use Select statement with Order By clause, which will sort records that are brought frm database.

    Regards

    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]




    [This message has been edited by Serge (edited 07-27-1999).]

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