check file date

  • Thread starter Thread starter tecas
  • Start date Start date
T

tecas

I am importing a text file daily at 4:30 am and i want to check that
the file i am importing is later than 4:30 am from the previous day.
is there a way to check the file's modified date and time using the
Dir function or is there another function available?
 
In
tecas said:
I am importing a text file daily at 4:30 am and i want to check that
the file i am importing is later than 4:30 am from the previous day.
is there a way to check the file's modified date and time using the
Dir function or is there another function available?

In the VB Editor environment, look up the FileDateTime function in the
online help.
 
There's a built-in FileDateTime function that returns the Last Modified
date.
 
There's a built-in FileDateTime function that returns the Last Modified
date.

--
Doug Steele, Microsoft Access MVPhttp://I.Am/DougSteele
(no private e-mails, please)






- Show quoted text -

Thanks, works like a charm
 

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

Back
Top