Results 1 to 2 of 2

Thread: Removing duplicate items from after a query....

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    norcross, ga, USA
    Posts
    82

    Post

    I'm using DAO (code).

    Example:

    I have 8 titles that may or may not be unique.

    There are 2 titles per location.

    Each location is duped for every title it holds.

    therefore results look like this:

    loc1 ttl1
    loc1 ttl2
    loc2 ttl1
    loc2 ttl2
    loc3 ttl1
    loc3 ttl2
    and so on...

    I want it to look like this...

    loc1 ttl1
    ttl2
    loc2 ttl1
    ttl2
    and so on...

    Unfortunately there is NOT a set number of titles to locations.

    How can I eliminate the duplicates?

    It's like I have to inventory every location and then compare each on with every other one!

    Any help would be greatly appreciated!

    <c>

  2. #2
    Junior Member
    Join Date
    Jan 2000
    Location
    uk
    Posts
    20

    Post

    Look at SQL statements using SELECT DISTINCT
    hope this helps

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

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