Import spreadsheet with modified date

J

Jim

I'd like to import a spreadsheet to append to an existing table that has a
field for the modified date of the spreadsheet. Is there code that can
automate importing the spreadsheet and populate this field? We will be
getting updates periodically, and I'd like to be able to capture that
information in the table so I can easily see which update the data came in on.

Thanks,
Jim
 
D

Douglas J. Steele

You can run an Update query that puts a given date into the ModifiedDate
field for any rows where it's blank:

UPDATE MyTable
SET ModifiedDate = Now()
WHERE ModifiedDate IS NULL
 

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