Tracking data imported to a database

N

Neil

I have designed a database that imports from spreadsheets
into a table in the Database.

I want to know if there is any way of tracking when data
is imported to the table so that no duplicates are
imported and the user can find out when the last import
was.

Thanks

Neil
 
A

Axel

You can have a field "createDate" with a default value now
(). Then you can identify all records imported on this
day. I'm not sure though, whether the default value is
used on importing a spreadsheet.

It is possible to link to the spreadsheet as if it is a
normal table. Then create an append query, that checks for
existing entries in the Access table and only appends new
records. In the same query you can fill the "createDate"
field.
 
N

Neil

Do you mean just create a field and call it createDate, or
is there a way to have createDate as a field type?
 
A

Axe

Yes,

createDate is just a name, you can use any name you want.
The date of creating comes into this field with the
default value.
 

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