Tom: First, thanks for your help on this issue.
I'll explain what I'm trying to do and believe me I understand that this is
not best practice, but it is more of an issue of speed of data retrieval and
ensuring that users will use the application (about 10 to 20 users total)
My application is calculation intensive and the servers are agonizingly slow.
Administrators of my application only update the backends once a month (twice
a month max). So, my launching program allows the back-end file to be
downloaded to the user's PC. This will provide maximum speed for these
calculations/manipulations of data. Without this, just logging into the main
app connected to the server back-end file can take five minutes (normal time
is 15 seconds when linked to back-end file on PC) at some locations.
We have been operating this way for 6 months and the users are very satisfied
with this setup. It has been drilled into their heads that they are connected
to a back-end file on their PC and not the server, so there is a chance that
some of the data may not be up to date. Of course, the launcher allows users
to connect to the server back-end file if they want to (trust me, nobody
wants to).
To reiterate only administrators of the application can update data. AFter
the data is updated, they send out an e-mail via the main app that informs
users to download the back-end file the next time they login. The launcher
has a checkbox that user's have to check to tell the launcher to download the
back-end file. Also, they have to point the launcher to where the back-end
file is on the server. This is easy since there are two radio option buttons:
one that when pressed inputs the server location of the back-end file and the
other when pressed inputs the local PC location of the back-end file.
This has all worked fine, but I would like to automate the process, since
users would really rather not be bothered with having to do anything other
than entering User ID and password on the launcher. So instead of sending out
an e-mail when the back-end file is updated, I would like the launcher
program to be able to determine that the back-end file on the PC is out-of-
sync with the one on the server and then pop up a message alerting the user.
If the user says 'Yes' to the download question, the back-end file is
automatically downloaded (this typically takes 10 minutes for a 75MB file; as
I said, the servers are excrutiatingly slow; but remember, this only occurs
about once a month as opposed to dealing with slow servers daily).
I can handle the coding since I already have similar coding in the launcher
to check for front-end software updates (using version number in a front-end
table). What I need is something to check so that I can tell if the back-end
file on the server is updated relative to the back-end file on the user's PC.
File date/time will change if the back-end files are compacted which doesn't
necessarily mean that any data has been updated.
So, let me reiterate why we can do this in my situation:
1) Most importantly, back-end file is only updated once or twice a month and
only by application administrators. Almost all users of the app only want to
use the data not add/edit data. Again, this is mostly a
calculation/manipulation/analysis application of existing data. If this were
a typical app where data is updated all the time, this "download" strategy
would never work.
2) The servers are excrutiatingly slow and if I didn't have the abiility to
download the back-end file, no one would use the app.
3) IT will not allow us to install SQL Server without a certification process
on the app and SQL Server that takes a minimum of two years. There is no
reasoning with IT on this problem.
Thanks for any suggestions.
Tom van Stiphout wrote:
>Yes, changing the requirements after the app has been written is
always relatively expensive.
What were you trying to accomplish in the first place? You wrote you
wanted to know if a data file was updated. Why is that so important?
Perhaps we can suggest alternatives.
In highly secure environments Access is sometimes not allowed, because
it cannot be secured.
SQL Server has better audit trail capabilities, with its Trigger
objects.
-Tom.
>>Yes, I'm afraid, I'll have to expand to write events about data updates.
This looks to me like a large task. I tend to code most of my saves because
[quoted text clipped - 23 lines]
>>>>>>
>>Thanks.
--
Message posted via
http://www.accessmonster.com