PC Review


Reply
Thread Tools Rate Thread

Database creation date

 
 
David C
Guest
Posts: n/a
 
      14th Aug 2008
How do I find the DateCreated for a MSAccess mdb file?

- and is this a fixed value, or does it get changed, eg when the file is
copied via CD to another drive?
- I have the path and filename of the mdb as a string.

I am using MSAccess2003
 
Reply With Quote
 
 
 
 
Stuart McCall
Guest
Posts: n/a
 
      14th Aug 2008
"David C" <(E-Mail Removed)> wrote in message
news:67546809-0EC6-4762-A9F8-(E-Mail Removed)...
> How do I find the DateCreated for a MSAccess mdb file?
>
> - and is this a fixed value, or does it get changed, eg when the file is
> copied via CD to another drive?
> - I have the path and filename of the mdb as a string.
>
> I am using MSAccess2003


This module will do what you want:

http://www.smccall.demon.co.uk/MiscApi.htm#FileDateTime

Debug.Print ReadFileTime("c:\temp\test.mdb", ftCreationtime)

And no, the creation time shouldn't be modified by copying.

HTH



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using XSD Database Schema for database creation and update WM Developer Microsoft Dot NET Compact Framework 0 20th Sep 2008 12:18 AM
Creation of table in database based upon ado.net database Steven Paplanus Microsoft ADO .NET 1 22nd Feb 2008 12:36 AM
File folder creation date is replaced with the date copied. =?Utf-8?B?enp6?= Windows XP General 2 9th Feb 2005 02:02 PM
Excel Date - Auto enter file creation date (free chocolate for help) arielax Microsoft Excel Misc 6 29th Apr 2004 02:13 PM
Date time picker setting current date at creation eyad hasan Microsoft Outlook Form Programming 2 26th Mar 2004 04:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:35 AM.