Re: Interesting approach for compacting on close
- From: lyle fairfield <lylefa1r@xxxxxxxx>
- Date: Fri, 31 Oct 2008 08:26:31 GMT
I wish "Why not stop wishing, and instead, design your app properly in
the first place?? were the worst thing David had ever said to me but I
think it would rank about 1653 ... in the ?best? category.
In general, I support the notion of repairing basic problems rather than
the application of corrective procedures.
On the other hand, I often set ?Compact on Close? and have done so with
applications that have run tens of thousands of times, and been closed
tens of thousands of times too, without any problem at all.
I?ve taken the disapproval of MVPs and other experienced developers for
?Compact On Close? to be just another one of the superstitions they
promulgate, superstitions that they use to enhance and maintain their
prestige and power, superstitions like ODBC is cool, ADO is dead, Forms
(?Name of Form?).Control.(?name of SubForm?).Control syntax is sound,
CurrentDB is useful, web-enabled SQL-Servers are insecure etc. Most of
these one can just ignore.
I suppose someone will now post a well-designed, error-free, compiled or
compilable, accdb or mdb (with Compact On Close set) and say, ?Open and
close this one hundred times, Lyle, and it will corrupt!? And I?ll be
convinced. This has never happened before with any other FOMVPI, of
course, but why not now?
It?s interesting that one kind of close fires the compact, while another
does not, but until I see the sample db that explodes on Compact, I?ll
just Compact (always) on Close.
BTW, I find that 2007 compacts ADPs to about two-thirds the size that
2002 and 2000 compact them. Perhaps 2003 also make the smaller compacted
version. My guess is that it does not and that the notion that ADPs got
zero upgrades in 2007 is suspect.
I have used temp tables once. I handled the bloat problem they can cause
by creating them and their indexes within a Transaction which I Rolled
Back after use. They were, of course, never saved to the db file, and
caused no bloat.
Blah ? Blah.
"Andy" <PCESoft@xxxxxxxxxxxxxxx> wrote in
news:_pxOk.1772$%11.498@xxxxxxxxxxxxxxxxxxxx:
I took exception mainly to: "Why not stop wishing, and instead, design
your app properly in the
first place? ". I hope, while you agree with his post, you don't
agree with jabs like that. Not quite the definition of constructive,
as this forum should be. I'm a regular poster as well, by the way, and
have made a living developing in Access since the mid-90's. So I had
to call him on that one. The program in question is in it's 8th year,
so I wouldn't call them band-aids, but rather 8 years of keeping my
customer's happy by implementing their feature requests.
I've always respected your posts, Lyle (I just recently changed my
post name from ARC to Andy, so we've corresponded before). Anyway,
just saying my piece.
"Andy" <PCESoft@xxxxxxxxxxxxxxx> wrote in
news:u5wOk.1761$%11.2@xxxxxxxxxxxxxxxxxxxx:
I don't think your post is very helpful, even though you feel so
strongly about the compacting feature (I guess Microsoft never
should have spent even a dollar on developing a compact for the FE).
As I mentioned, the temp tables are already off-loaded into a
workspace.accdb (separate database from the FE). Your suggestions on
"Designing an App Properly" are really great. I'm honored that a
super-programmer has replied to this humble topic; one who has
designed his apps so perfectly, that they never need updating, new
features or enhancements.
I think, David, this topic is intended for those interested in
compacting problems & solutions and maybe not necessarily for
yourself (maybe those with large FE/BE applications with 100's of
forms, queries, reports, and on the order of 100,000 lines of code).
--
lyle fairfield
--
lyle fairfield
.
- Follow-Ups:
- Re: Interesting approach for compacting on close
- From: David W. Fenton
- Re: Interesting approach for compacting on close
- From: Andy
- Re: Interesting approach for compacting on close
- References:
- Interesting approach for compacting on close
- From: Andy
- Re: Interesting approach for compacting on close
- From: Rick Brandt
- Re: Interesting approach for compacting on close
- From: Andy
- Re: Interesting approach for compacting on close
- From: Rick Brandt
- Re: Interesting approach for compacting on close
- From: Andy
- Re: Interesting approach for compacting on close
- From: David W. Fenton
- Re: Interesting approach for compacting on close
- From: Andy
- Re: Interesting approach for compacting on close
- From: lyle fairfield
- Re: Interesting approach for compacting on close
- From: Andy
- Interesting approach for compacting on close
- Prev by Date: link to form in other db
- Next by Date: Re: Interesting approach for compacting on close
- Previous by thread: Re: Interesting approach for compacting on close
- Next by thread: Re: Interesting approach for compacting on close
- Index(es):
Relevant Pages
|