Results 1 to 2 of 2
  1. #1
    4 Star Lounger
    Join Date
    Feb 2002
    Posts
    537
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Delete query (Access 2000)

    From the table TblClients i want to delete those clients whose CompanyName is not written.How can i build the query, sinc emy delete query does not delete anything
    DELETE TblClients.ClientID, TblClients.CompanyName
    FROM TblClients
    WHERE (((TblClients.CompanyName)=""));

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Delete query (Access 2000)

    Change

    WHERE (((TblClients.CompanyName)=""));

    to

    WHERE (((TblClients.CompanyName) Is Null));

Posting Permissions

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