Results 1 to 3 of 3

Thread: Selecting Database Records

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Location
    Manchester, UK
    Posts
    50

    Cool

    I have an Access database with a field in called 'Category'. This field contains several records with the same value, e.g

    CATEGORY
    News
    News
    News
    Games
    News
    Games
    Games
    Games

    What I want to do is get a list of all the different category names using ASP. How do you do it?

  2. #2
    Lively Member
    Join Date
    Jan 2000
    Location
    Omaha, Ne
    Posts
    65

    Arrow Distinct

    Try "Select Distinct Category FROM ..." in your query string. This should return 2 rows with NEWS and GAMES.
    That help?

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2000
    Location
    Manchester, UK
    Posts
    50

    Smile Thanks

    Thanks a lot!

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