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
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

749 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