Re: Replication as a Performance Enhancer?
- From: "Tony Toews [MVP]" <ttoews@xxxxxxxxxxxxxxx>
- Date: Wed, 28 Jan 2009 01:26:35 GMT
"Neil" <nrgins@xxxxxxxxx> wrote:
With our Access app, we have the app installed in a directory, say
c:\myaccessapp. Each user has their own copy of the FE, each in the same
directory.
David mentions user profile. Let me get a bit more specific. Probably, and
generalizing without getting into TS, the best location is in the AppData folder on
the client PC. On my system this would be C:\Documents and
Settings\ttoews\Application Data\Granite Fleet Mgr as an example.
Now this isn't necessarily suitable in a TS environment as if they are not on the
same LAN then the FE is now being access by the TS system from the local PC. Not a
good idea if they are on a WAN.
I'm not sure that the best location would be in the TS system itself. And the IT
staff may not like doing that. So at the one client we stored the FEs in a user
specific folder on the same file folder as the backend.
The Auto FE Updater made this quite easy as I just put in the user name as a
parameter in the location line in the INI file.
The FE uses local tables which, for the most part, perform one of two
functions: either compile temporary data for reports;
See the TempTables.MDB page at my website which illustrates how to use a temporary
MDB in your app. http://www.granite.ab.ca/access/temptables.htm. This will help
keep bloating of the FE down.
or keep track of user
selections (there is a local table with two fields: a PK field,
corresponding to the PK field in the main table, and a Yes/No field). The
main form has a check box which is bound to this local table's Yes/No field;
the rest of the fields are bound to the shared main table.
I'm not sure what is going on with this table here but what happens when the FE is
replaced by a new version? You lose the the data in the local table. Unless this is
very temporary data such as parameters for a report.
We ended up having to give each user their own copy of the front end in
their own personal directory: c:\myaccessapp\bob, c:\myaccessapp\sally,
c:\myaccessapp\joe, etc.
Which is reasonable enough. Presumably the IT staff had to create that folder on the
TS system and give appropriate permissions.
I realize one might say that the local tables shouldn't be in the FE anyway;
that they should be in a separate file. But that would still amount to the
same thing, as they'd each have their own copy. of that separate file. Plus,
if I had code which created a temporary MDB file (for data compilation),
those MDBs would overwrite each other, as they'd be in teh same place.
If you created the temp MDB in the same folder as the FE then you wouldn't have the
problem if everyone had their own folder.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
.
- Follow-Ups:
- Re: Replication as a Performance Enhancer?
- From: robert.waters
- Re: Replication as a Performance Enhancer?
- From: Neil
- Re: Replication as a Performance Enhancer?
- References:
- Replication as a Performance Enhancer?
- From: Earl Anderson
- Re: Replication as a Performance Enhancer?
- From: David W. Fenton
- Re: Replication as a Performance Enhancer?
- From: Earl Anderson
- Re: Replication as a Performance Enhancer?
- From: Neil
- Re: Replication as a Performance Enhancer?
- From: David W. Fenton
- Re: Replication as a Performance Enhancer?
- From: Neil
- Re: Replication as a Performance Enhancer?
- From: David W. Fenton
- Re: Replication as a Performance Enhancer?
- From: Neil
- Replication as a Performance Enhancer?
- Prev by Date: Re: Query to Find Members of a Group at a Point in Time
- Next by Date: Re: Can't always run or design Access 2003 forms now
- Previous by thread: Re: Replication as a Performance Enhancer?
- Next by thread: Re: Replication as a Performance Enhancer?
- Index(es):
Relevant Pages
|