Last Updated

P

Phil

I am trying to find when I last changed the design of a form called "Country"

If I type this into the immediate window

Print currentdb.Containers("Forms").Documents("Country").lastupdated
I get 17/09/2009 18:25:05 as the answer, which I believe is when the form was
created. (It has been modified today)

If I right click on the form, I get Modified 28/12/2009 09:52:07. which is
correct How using VBA can I get the correct date (i.e. today's date?

Thanks

Phil
 
V

vanderghast

Application.CurrentProject.AllForms("Country").DateModified


Vanderghast, Access MVP
 

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