BrokenBiker
ManicMechanic
- Local time
- Yesterday, 18:30
- Joined
- Mar 22, 2006
- Messages
- 128
I've recently made some updates to the database at work. I need to get these updates to the other users to meet current regulations. Our database here at work is used by several other off-station sites. Normally, I just type out a long list of detailed instructions (stating that most people are clueless about Access is an understatement) and hope that nobody messes up.
While digging through the site here I came across a few things that have slipped by me. Namely, DeleteObject, Rename, and TransferDatabase.
So, I made up a bit of simple code and put it in a form so the other sites can just import the form and open it up and everything happens auto-magically. I tested it out here w/ some copies of the working database and everything is working smooth (after a few hiccups.)
The problem is that these other sites' administrators are going to have to paste the location of the updated file that I send them.
There are probably about 20 of these lines. That's a lot of cut-and-pasting to update the file-path.
I was wondering if there's a way to use the same kind of function in the attachment for returning a file path to the line of code using the browsing function?
Thanks y'all,
BB
P.S. I believe (but can't quite remember) I got the original design for the browser from Ghudson's sample db.
While digging through the site here I came across a few things that have slipped by me. Namely, DeleteObject, Rename, and TransferDatabase.
So, I made up a bit of simple code and put it in a form so the other sites can just import the form and open it up and everything happens auto-magically. I tested it out here w/ some copies of the working database and everything is working smooth (after a few hiccups.)
The problem is that these other sites' administrators are going to have to paste the location of the updated file that I send them.
Code:
DoCmd.TransferDatabase acImport, "Microsoft Access", "t:\WhateverFolder\UpdatedDBName.mdb", acReport, "ReportName", "NEWReportName", False
There are probably about 20 of these lines. That's a lot of cut-and-pasting to update the file-path.
I was wondering if there's a way to use the same kind of function in the attachment for returning a file path to the line of code using the browsing function?
Thanks y'all,
BB
P.S. I believe (but can't quite remember) I got the original design for the browser from Ghudson's sample db.