How to date an MDE

E

Emilio

Hi,

I would like to keep track of the versions of my database
by adding say a date (only when saving as MDE)
(if possible: "V.1.011804" for todat's date 01/18/04)
to make it easy to update and compare the rest of the
computers, since I am continously making changes at the
moment.
Is there any way to do this? avoiding the date changing
every time the MDE is opened.

Thanks for any help,
Emilio
 
P

Paul Overway

Set a property within the database, i.e.,

On error resume next

Set db = Currentdb()

db.properties("MDEVersion") = 1

If Err.number <> 0 Then
db.Properties.Append db.CreateProperty("MDEVersion",dbText,1)
End if
 
E

Emilio

Thanks Paul,

I forgot to mention that I am a newbie and don't quite
understand your example.
I do not see mention of date at all.

Thanks for your help anyway,
Emilio
 

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