Import

C

coconutt

I have a table I update with a excel spreadsheet. My question is, when I
import the spredsheet: is there a way to remove a record in the table if it
does not excist on the spredsheet?

Thanks
 
K

Klatuu

How do you do the update? Please give us some detail. It can be done, but
first, we need to know what it is doing now.
 
C

coconutt

I import the excell spreadsheet to an excisting table. (this spreadsheet has
the same fields in each instance) tHANKS
 
K

Klatuu

I don't know if you are using TransferSreadsheet or linking to the
spreadsheet, but here is a basic concept.
Create another table with the same layout you are using now and import into
that( a transfer table). Be sure to delete the data in the transfer table
before the import. Once you have done the import, create 2 queries. First,
a Delete query that would delete matching records from the transfer table.
The an Append query to append the transfer table to the permanent table.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top