No Duplicate Records!!!

Results 1 to 3 of 3

Thread: No Duplicate Records!!!

  1. #1
    scopeout Guest

    Default No Duplicate Records!!!

    I&#039m doing a query and I don&#039t want any duplicate names to print out on the browser.<BR><BR>example: SalesRepName John Dow might be in the database 20 times, but I only want his name to print once.

  2. #2
    Join Date
    Dec 1969

    Default RE: No Duplicate Records!!!

    sql = "Select Distinct SalesRepName from SalesRepTable"<BR><BR>The distinct keyword should do what you want

  3. #3
    sniffer Guest

    Default RE: No Duplicate Records!!!

    strQuery = "SELECT DISTINCT SalesRepName FROM Sales WHERE Name = &#039" & John Dow & "&#039" <BR>

Posting Permissions

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