R
rdemyan via AccessMonster.com
Okay, I hid the title a bit because I'm probably going to get some flame mail
on this.
First let me say that data is only updated in my application tables once or
twice a month. It is mostly an application about performing complex
calculations and analysis not an application where data is added/modified on
a daily basis.
The servers are excrutiatingly slow so I give my users the option of
downloading the backend file from the server to their local PCs. Then when
we add or modify data (once or twice a month) we send out an e-mail. The
next time user's login, they check a box on the launcher and when the
application opens it automatically downloads the back end file. User's are
well aware that there is always a possibility that the data may be uptodate,
but everyone downloads (it's not a requirement) because of the speed at which
data is then accessed.
To give you an idea, last week I logged on from a remote location and it took
20 minutes just to login (the front end was on the local PC at the remote
location). If the back-end files are on the same PC as the front end it takes
about 20 seconds. So I think you see why we have to do this. Admittedly
this was a worst case situation because I was well removed from the actual
geographic location.
We have not set the launcher up to download the backend files every time the
user logs in. While this would keep the data up-to-date, it typically takes
about 10 minutes to download the file. Users can download every time if they
want to, but we don't force it on them.
Here's the issue. I'd like to see if I can automate the downloading process.
This would eliminate the need for us to send an e-mail and the user wouldn't
have to remember to check a box on the launcher.
Maybe a table in the backend which contains a flag or date that we set when
we add/edit data. Then the launcher can open this table and check the value.
If the flag is set, the launcher then will pass the instruction (via Command)
to the main app to download the backend file. I can do this, but I'm unclear
on how to turn it off. That is once User A has the new backend file, what's
the best way to stop the new backend file from being downloaded the next time
User A logs in.
I guess I could have a table in the front end that writes a record indicating
that the backend file has been downloaded. Maybe both the table in the front
and backend should record the date. The date could then be compared during
launching of the app to decide if the backend file should be downloaded. If
the dates are equal, no download. If server date is > local date, then
download.
Comment, suggestions, are very welcome. Yes, I know that in principal all
users should be linked to the back-end file on the server, but in our case
we've been doing it this way for quite some time with no problems. But that
is only because we update the tables infrequently.
Thanks.
on this.
First let me say that data is only updated in my application tables once or
twice a month. It is mostly an application about performing complex
calculations and analysis not an application where data is added/modified on
a daily basis.
The servers are excrutiatingly slow so I give my users the option of
downloading the backend file from the server to their local PCs. Then when
we add or modify data (once or twice a month) we send out an e-mail. The
next time user's login, they check a box on the launcher and when the
application opens it automatically downloads the back end file. User's are
well aware that there is always a possibility that the data may be uptodate,
but everyone downloads (it's not a requirement) because of the speed at which
data is then accessed.
To give you an idea, last week I logged on from a remote location and it took
20 minutes just to login (the front end was on the local PC at the remote
location). If the back-end files are on the same PC as the front end it takes
about 20 seconds. So I think you see why we have to do this. Admittedly
this was a worst case situation because I was well removed from the actual
geographic location.
We have not set the launcher up to download the backend files every time the
user logs in. While this would keep the data up-to-date, it typically takes
about 10 minutes to download the file. Users can download every time if they
want to, but we don't force it on them.
Here's the issue. I'd like to see if I can automate the downloading process.
This would eliminate the need for us to send an e-mail and the user wouldn't
have to remember to check a box on the launcher.
Maybe a table in the backend which contains a flag or date that we set when
we add/edit data. Then the launcher can open this table and check the value.
If the flag is set, the launcher then will pass the instruction (via Command)
to the main app to download the backend file. I can do this, but I'm unclear
on how to turn it off. That is once User A has the new backend file, what's
the best way to stop the new backend file from being downloaded the next time
User A logs in.
I guess I could have a table in the front end that writes a record indicating
that the backend file has been downloaded. Maybe both the table in the front
and backend should record the date. The date could then be compared during
launching of the app to decide if the backend file should be downloaded. If
the dates are equal, no download. If server date is > local date, then
download.
Comment, suggestions, are very welcome. Yes, I know that in principal all
users should be linked to the back-end file on the server, but in our case
we've been doing it this way for quite some time with no problems. But that
is only because we update the tables infrequently.
Thanks.