Results 1 to 3 of 3

Thread: strange sorting question

  1. #1

    Thread Starter
    Fanatic Member joltremari's Avatar
    Join Date
    Sep 2000
    Location
    Mississippi
    Posts
    674

    strange sorting question

    I have a filelist box that shows .tif's in a directory. Each tif has info in an access db. Naturally the filelist box sorts the tif's in numerical order.

    I'm wondering if I can have the filelist box sort the tif's based on a field or query in the db.

    Hope that made sense!

    Thanks,

    JO
    "I have not failed. I've just found 10,000 ways that won't work."
    'Thomas Edison'

    "If we knew what it was we were doing it wouldn't be called research, would it?"
    'Albert Einstein'

    VB6

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Sure. Retrieve your data using SQL, and place an ORDER BY statement on the end. The ORDER BY will sort your query by whatever Db field you specify.

  3. #3
    Addicted Member Rikk's Avatar
    Join Date
    Nov 2001
    Location
    Atlanta
    Posts
    131

    Filelist sorting

    Hack is right... you'll have to create and show another list box that you fill and sort (in any manner you wish) manually.

    =\=
    Rikk =\=
    Starcraft, Protoss Scout Driver!

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