Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / May 2004

Tip: Looking for answers? Try searching our database.

replacing a form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JulieD - 28 May 2004 16:11 GMT
hi all

i have a database that is split and i need to update 1 form in the frontend
(one line of code only!!!) and i would like to make this change without
requiring the users to download & install a whole new front end - any ideas?

unfortunately they can't get to "file / get external data / import" (nor
much else other than the switchboard etc) so i guess what i'm looking for is
maybe a VB / VBA solution that can replace the form or edit the code without
them having to do very much.

Cheers
JulieD
Rick B - 28 May 2004 16:28 GMT
You should do a little research and set up a way for them to be notified
when a new version exists.  I created a batch file they can run that
replaces their local copy with the newer version on the LAN.  To notify
them, I created two tables.  One on the local copy called "LocalVersion" and
one on the data (back end database) called "Software Version".  Each table
has only one field.  A date.  When they open the database, it compares the
master version date with the date on their copy.  If they do not match, it
launches my batch file and closes the database.  They press enter to
continue the batch file, and the local copy is updated.  It all takes about
6 seconds.

There is no way for you to make changes to their copies on their drives.
Forcing them to go in and update a particular object each time you make a
change would be a major ahssle.  Just have them copy over thier local file
with your revised file.  Whether you make them do this manually, or automate
the process is up to you.

Rick B

hi all

i have a database that is split and i need to update 1 form in the frontend
(one line of code only!!!) and i would like to make this change without
requiring the users to download & install a whole new front end - any ideas?

unfortunately they can't get to "file / get external data / import" (nor
much else other than the switchboard etc) so i guess what i'm looking for is
maybe a VB / VBA solution that can replace the form or edit the code without
them having to do very much.

Cheers
JulieD
JulieD - 28 May 2004 16:38 GMT
Hi Rick

the problem is that the users are scattered all over the country with no
central database ... the backend resides in some locations on the same
machine as the front end and in other locations on a server.  The individual
databases are "combined" through the use of export to excel functionality &
emailing into a central database about every 6 months (the users only ever
need their data and not anyone elses).

my only way of updating their front ends is notification via email & then
they d/l the new version off the web.   As this is a very small change i am
trying to avoid the angst that this process causes some of the users and we
are also making "major" changes in the next few weeks that will require them
to d/l a new front end but this is a much needed / urgent change and i'm
trying to find an alternative way to approach it (much like a "patch" as
opposed to a new version!).

Any other ideas
Cheers
JulieD

"Rick B"

<anonymous@discussions.microsoft.com> wrote in message
news:%23$G77hMREHA.1312@TK2MSFTNGP12.phx.gbl...
> You should do a little research and set up a way for them to be notified
> when a new version exists.  I created a batch file they can run that
[quoted text clipped - 28 lines]
> Cheers
> JulieD
Rick B - 28 May 2004 16:48 GMT
Gotcha.  I do not know of any way to do this.  To ease the dowload process,
you could create a self-extracting zip or a batch file that will do s few of
the steps for them, but probably not worth the effort in this instance.

Sory I don't have a better solution.

Rick
Hi Rick

the problem is that the users are scattered all over the country with no
central database ... the backend resides in some locations on the same
machine as the front end and in other locations on a server.  The individual
databases are "combined" through the use of export to excel functionality &
emailing into a central database about every 6 months (the users only ever
need their data and not anyone elses).

my only way of updating their front ends is notification via email & then
they d/l the new version off the web.   As this is a very small change i am
trying to avoid the angst that this process causes some of the users and we
are also making "major" changes in the next few weeks that will require them
to d/l a new front end but this is a much needed / urgent change and i'm
trying to find an alternative way to approach it (much like a "patch" as
opposed to a new version!).

Any other ideas
Cheers
JulieD

"Rick B"

<anonymous@discussions.microsoft.com> wrote in message
news:%23$G77hMREHA.1312@TK2MSFTNGP12.phx.gbl...
> You should do a little research and set up a way for them to be notified
> when a new version exists.  I created a batch file they can run that
> replaces their local copy with the newer version on the LAN.  To notify
> them, I created two tables.  One on the local copy called "LocalVersion"
and
> one on the data (back end database) called "Software Version".  Each table
> has only one field.  A date.  When they open the database, it compares the
> master version date with the date on their copy.  If they do not match, it
> launches my batch file and closes the database.  They press enter to
> continue the batch file, and the local copy is updated.  It all takes
about
> 6 seconds.
>
> There is no way for you to make changes to their copies on their drives.
> Forcing them to go in and update a particular object each time you make a
> change would be a major ahssle.  Just have them copy over thier local file
> with your revised file.  Whether you make them do this manually, or
automate
> the process is up to you.
>
[quoted text clipped - 3 lines]
>
> i have a database that is split and i need to update 1 form in the
frontend
> (one line of code only!!!) and i would like to make this change without
> requiring the users to download & install a whole new front end - any
ideas?

> unfortunately they can't get to "file / get external data / import" (nor
> much else other than the switchboard etc) so i guess what i'm looking for
is
> maybe a VB / VBA solution that can replace the form or edit the code
without
> them having to do very much.
>
> Cheers
> JulieD
Cheryl Fischer - 28 May 2004 16:34 GMT
Julie,

Using a File|Import solution may confuse your users more in that when they
import the form (call it  frmCust, as an example), it is going to be
imported as frmCust1 because they already have a frmCust.   Possible
solutions include:

MVP Tony Toews' AutoFE Updater (http://www.granite.ab.ca/access/autofe.htm)
will update your users automatically.

Or, put your updated FE in a folder on a drive that all users can get to and
teach them how to copy a file in Explorer.

Or, a sneaky way of doing updates (works only on Windows 2000 servers, I
think, where the network admins have created a share for each computer) is
to put the following in (Start | Run)

   \\Cheryl\c$

where Cheryl is the name of the share.    You get an explorer window to the
user's hard drive and you can copy the update to them.  Of course, they
cannot be in the database when you do that and you have to have
Administrator rights.

--

Cheryl Fischer, MVP Microsoft Access

> hi all
>
[quoted text clipped - 9 lines]
> Cheers
> JulieD
Reggie - 29 May 2004 09:02 GMT
What if you were to make a new db and import your new form to this db.
Distribute this db and have the people at the locations open there frontend,
delete(or rename) the form in question, then import the form to their db.
Just a thought.

Signature

Reggie

www.smittysinet.com
----------

> hi all
>
[quoted text clipped - 9 lines]
> Cheers
> JulieD
JulieD - 31 May 2004 16:29 GMT
Hi Reggie

thanks for the suggestion but they can't actually get to the database
container in their versions .. i think i'm stuck with getting them to d/l a
whole new front end ... :(

Cheers
Julie\d

> What if you were to make a new db and import your new form to this db.
> Distribute this db and have the people at the locations open there frontend,
[quoted text clipped - 18 lines]
> > Cheers
> > JulieD
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.