N
Novalith
Sorry I could not enter a more descriptive title, I am not sure if what I
want to do is even possible but I know this is probably the best place to
come for help. I have designed and built a ver complicated database with
multiple users having multiple "Frontends" and accessing multiple base
databases.
The problem is when I update the format of a form I have to update it in 30
different frontends. What I want is for those frontends to update
themselves. I figured out that if I use an autoexec macro to download
another macro called "Update" and run it then I can use that "Update" Macro
to delete the old form or report and grab a new copy from the master file.
This is not a problem if I am only ever updating a few forms, the problem is
I tend to update multiple queries, forms and reports which equates to a lot
of downloading. Also I update them at different times so the update one week
might be a few forms, then the next week it may be a few reports. Then the
problem becomes that if user A does not run his database for 2 weeks he will
only get the latest update and not get the updated forms from the week before
as I have overwrittend the "Update" macro that replaced the forms with the
update macro that replaced the reports.
So end the end I decieded to make 2 macros. The first is called "Update"
and contains the most recent changes. It is designed to only modify a few
files. I then created another macro called "Full Update" which will replace
every Query//Form/Report in the database with the most current ones.
The frontends will download both files by default, but here is where I run
into a problem. I want to be able to use version numbers somewhere in both
the frontend and the Master so that if the numbers are only 1 step different
it runs the small updated (i.e if the FE is on 1.0 and the current update is
1.1). If the version numbers are greater then .1 apart it will run the full
update macro.
At this point I am stuck. Where can I put the versions numbers and how can
I get the 2 db's to compare them? I have not used VBA because I have less
than 2 weeks to get this figured out and I am not sure I can learn enough in
that time to do this. If it can be done in VBA though I am willing to try if
someone can point me in the right direction. I am desperate because I may
have to scrap this and I have been desperatly trying to learn Access fast
enough to get this done before my deadline. I will be monitoring this all
weekend for help so if you have questions please ask me.
want to do is even possible but I know this is probably the best place to
come for help. I have designed and built a ver complicated database with
multiple users having multiple "Frontends" and accessing multiple base
databases.
The problem is when I update the format of a form I have to update it in 30
different frontends. What I want is for those frontends to update
themselves. I figured out that if I use an autoexec macro to download
another macro called "Update" and run it then I can use that "Update" Macro
to delete the old form or report and grab a new copy from the master file.
This is not a problem if I am only ever updating a few forms, the problem is
I tend to update multiple queries, forms and reports which equates to a lot
of downloading. Also I update them at different times so the update one week
might be a few forms, then the next week it may be a few reports. Then the
problem becomes that if user A does not run his database for 2 weeks he will
only get the latest update and not get the updated forms from the week before
as I have overwrittend the "Update" macro that replaced the forms with the
update macro that replaced the reports.
So end the end I decieded to make 2 macros. The first is called "Update"
and contains the most recent changes. It is designed to only modify a few
files. I then created another macro called "Full Update" which will replace
every Query//Form/Report in the database with the most current ones.
The frontends will download both files by default, but here is where I run
into a problem. I want to be able to use version numbers somewhere in both
the frontend and the Master so that if the numbers are only 1 step different
it runs the small updated (i.e if the FE is on 1.0 and the current update is
1.1). If the version numbers are greater then .1 apart it will run the full
update macro.
At this point I am stuck. Where can I put the versions numbers and how can
I get the 2 db's to compare them? I have not used VBA because I have less
than 2 weeks to get this figured out and I am not sure I can learn enough in
that time to do this. If it can be done in VBA though I am willing to try if
someone can point me in the right direction. I am desperate because I may
have to scrap this and I have been desperatly trying to learn Access fast
enough to get this done before my deadline. I will be monitoring this all
weekend for help so if you have questions please ask me.