M
mmagnes
in an old application (version 97) i created a routine to do updates of
database objects to the users versions when I make updates to the
application. I post an Update.mdb file to a server location and each time a
user loads the application it check to see if there is a new version of the
database. If there is it then checked the LastUpdate property of every
object to determine which objects are new and copies them to the users
version to update it.
The Problem: In converting the application to 2003 this process is failing.
The application does not crash, but runs past the routine. After
troubleshooting the problem I have found that even though I'm checking the
lastUpdated property of the object the dateCreated date is passed. Regardless
of when i make the change it is the DateCreated that is passed. From the
database window...the Detail view of the object shows the date Modified as
being correct.
Example: I create a Form on 01/01/2006 both Date created and DateModified
show this date. If I modify the form on 02/02/2006. Date Created shows
01/01/2006 Date Modified is 02/02/2006. However when I pull the
LastModified Property it is 01/01/2006.
Here is the code I use for Forms or Reports:
dbUD.Containers("Reports").Documents(x).LastUpdated
dbUD.Containers("Forms").Documents(x).LastUpdated
I really need some Help!!!!!!
database objects to the users versions when I make updates to the
application. I post an Update.mdb file to a server location and each time a
user loads the application it check to see if there is a new version of the
database. If there is it then checked the LastUpdate property of every
object to determine which objects are new and copies them to the users
version to update it.
The Problem: In converting the application to 2003 this process is failing.
The application does not crash, but runs past the routine. After
troubleshooting the problem I have found that even though I'm checking the
lastUpdated property of the object the dateCreated date is passed. Regardless
of when i make the change it is the DateCreated that is passed. From the
database window...the Detail view of the object shows the date Modified as
being correct.
Example: I create a Form on 01/01/2006 both Date created and DateModified
show this date. If I modify the form on 02/02/2006. Date Created shows
01/01/2006 Date Modified is 02/02/2006. However when I pull the
LastModified Property it is 01/01/2006.
Here is the code I use for Forms or Reports:
dbUD.Containers("Reports").Documents(x).LastUpdated
dbUD.Containers("Forms").Documents(x).LastUpdated
I really need some Help!!!!!!