• Checking for same name (Access 2000)

    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: Reply #1061276 in 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:




    Cancel