Solved

Microsoft Access 2003 Forms Object properties created & modified dates are equal to the created date. I need the real modified date.

Posted on 2008-10-15
4
226 Views
Last Modified: 2013-11-28
Needed: From VB, the modified date of a form.
Description of problem:  When I retrieve the object properties, the modified date is identical to the older created date.   The modified date in the forms window shows the correct date.
0
Comment
Question by:amountainclimber
  • 2
4 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 22728609
As far as I know, there is no way to get this information.
Even though Access stores it internally, it is not exposed anywhere that is accessible programmatically.

0
 
LVL 2

Accepted Solution

by:
EruditeMonkey earned 100 total points
ID: 22729388
Hi, You should be able to ge the dates from the main database window with the code below.

currentproject.AllForms("Form_Name").DateModified 
currentproject.AllForms("Form_Name").DateCreated

Open in new window

0
 
LVL 77

Expert Comment

by:peter57r
ID: 22729480
v good!  never knew that was there.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question