Hello All.
My database used to automatically update itself using a .bat installation batch file. However our IT team now block us from using this method.
Currently users have to go to the shared drive and copy the front end file and paste it on to their Crive to overwrite it. As the database is currently going through quit a lot of small updates, I am hoping to make this process automated.
So far when the database is opened, it compares the user's current version number with the latest available version number. If the latest version number is higher than the user's current version, then it will run the following code:
This code opens up a new access database which will hopefully carry out the upgrade. The upgrade tool database opens up, and the user will hit an upgrade now button. I want this command to do the following:
Copy the Medipro Front End.accde file from the file path "Groups\Medical Engineering\Medipro\"
Paste the .accde file to a new filepath and overwrite the exisiting .accde file in the file path "C:\Medipro\"
Is it possible to do this using send keys?
I am limited to what I am able to do due to IT limiting our rights.
Any help is greatly appreciated.
Thanks
My database used to automatically update itself using a .bat installation batch file. However our IT team now block us from using this method.
Currently users have to go to the shared drive and copy the front end file and paste it on to their Crive to overwrite it. As the database is currently going through quit a lot of small updates, I am hoping to make this process automated.
So far when the database is opened, it compares the user's current version number with the latest available version number. If the latest version number is higher than the user's current version, then it will run the following code:
Code:
Dim stPath As String
Dim stAppName As String
stPath = "C:\Medipro\MediproUpgradeTool.accdb"
stAppName = "msaccess.exe " & stPath
Call Shell(stAppName, 1)
DoCmd.CloseDatabase
Exit Sub
This code opens up a new access database which will hopefully carry out the upgrade. The upgrade tool database opens up, and the user will hit an upgrade now button. I want this command to do the following:
Copy the Medipro Front End.accde file from the file path "Groups\Medical Engineering\Medipro\"
Paste the .accde file to a new filepath and overwrite the exisiting .accde file in the file path "C:\Medipro\"
Is it possible to do this using send keys?
I am limited to what I am able to do due to IT limiting our rights.
Any help is greatly appreciated.
Thanks