• Checking for same name (Access 2000)

    • This topic has 2 replies, 3 voices, and was last updated 18 years ago.
    Author
    Topic
    #441690

    i want to make a list of those clients in the table tblClients whose field CompanyName is repeated as the same or equal.There are some wizards in the query window but i cannot use them on my computer.But what i want is to show all the clients with dubious repetition of he CompanyName. is it posible ?

    Viewing 0 reply threads
    Author
    Replies
    • #1061272

      You can create a query with the following SQL:

      SELECT *
      FROM tblClients
      WHERE CompanyName In (SELECT CompanyName FROM tblClients GROUP BY CompanyName HAVING Count(*)>1)
      ORDER BY CompanyName

      • #1061276

        Thank you . It works exactly what i need and the list i have made is perfect !

    Viewing 0 reply threads
    Reply To: Checking for same name (Access 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: