RE: Preventing duplicate entries with an Append Query

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks! That worked great.

"KARL DEWEY" wrote:

In your append query design view add the table that you are appending to.

Click in the input table fields that you do not want to duplicate and drag
to the 'append to' table field that matches. This creates a connecting line.

Double click on the connecting line to open a popup window with three
choses. Select the one that says all records from the input table. Close
popup.

Drag the 'append to' table field to the FIELD row of the grid. Click on the
little square of the SHOW: row to remove the check mark.
In the CRITERIA row type --
Is Null

This will append only records where the content of the field does not exist
in the 'append to' table.

--
KARL DEWEY
Build a little - Test a little


"OEB" wrote:

I have an append query that is appending records from a table that I have
imported from a spreadsheet to a table that exists in the database. The
existing table has many similar records (name of project) in it. I want to
append the existing table with the imported table only if the names are
different to the existing table.

In my design view of my append query, what criteria do I enter to accomplish
this? I tried [Project Title] <> [ProjectName] but that didn't work.

Thanks.
.



Relevant Pages

  • Re: DVD-RAM?!?!?!?
    ... it in packet-writing mode (drag & drop). ... You can't mount it rw, ... append additional stuff to an existing CD using appropriate mkisofs and ...
    (comp.os.linux.hardware)
  • RE: validation for append query help?
    ... Current situation, I currently have 899 record in the orderWIP table, when I ... is to ignor the 899 duplicate record and only append 4 new records. ... I tried your criteria in the append query, but it is appending every records ... "KARL DEWEY" wrote: ...
    (microsoft.public.access.queries)
  • RE: Unique Records
    ... I could do that but i am looking for a uniqueness over multiple fields... ... "KARL DEWEY" wrote: ... When you append it will only allow one. ... my append query adds ALL ...
    (microsoft.public.access.queries)
  • RE: Unique Records
    ... If you click on Indexes you can create an index using multiple fields. ... "Ernst Guckel" wrote: ... "KARL DEWEY" wrote: ... When you append it will only allow one. ...
    (microsoft.public.access.queries)
  • RE: Forms
    ... An old fashion way is to use an Excel spreadsheet for collection and then ... import or link and append. ... KARL DEWEY ...
    (microsoft.public.access.gettingstarted)