Re: Undeletable Form
- From: "Wayne Morgan" <comprev_gothroughthenewsgroup@xxxxxxxxxxx>
- Date: Sat, 30 Apr 2005 08:26:59 -0500
You are correct that the /Decompile switch helps in many cases. There are
also other ways to force a decompile. You will find though, that with the
2002/2003 file format, that a /Decompile and Compact won't do as good a job
as it did in earlier versions. With the 2002/2003 file format you will have
better luck transferring everything to a new file.
http://support.microsoft.com/default.aspx?scid=kb;en-us;810415
--
Wayne Morgan
MS Access MVP
"Peter Hallett" <PeterHallett@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3AA9F522-68BC-4674-85B7-32FBCFE61050@xxxxxxxxxxxxxxxx
> This response is really directed to all who have contributed to this
> thread
> but you refer specifically to compaction and I may be able to contribute
> something useful in that area.
>
> When starting to use Access in earnest, I soon became aware of its
> tendency
> to 'bloat'. Adding a few forms or making one or two changes could pile on
> megabytes. An even less welcome discovery was that compaction did not
> remove
> all this bloat. Eventually I finished up with a database which was nearly
> twice the size it should have been and I could not get rid of the excess.
> Finally it led to serious malfunction. I was in deep trouble and unable
> to
> get out of it. Compaction did nothing.
>
> By persevering, I finally managed to get the assistance of a Microsoft
> guru
> (as opposed to front line support where the guy usually opens up by asking
> whether you have put the plug in the wall socket and switched on - or the
> programming equivalent thereof.) This expert made me aware of an
> undocumented MS feature which he felt might deal with my by then
> well-corrupted database but he warned that it was undocumented because one
> of
> its side effects was its ability to destroy corrupted databases as an
> alternative to repairing them.
>
> The technique is to open the database using the /Decompile switch and then
> to recompile the result. On my first attempt, my corrupted database shed
> 1.5Mb and then ran like a dream.
>
> The reconmmendation was that, once used, the utility should be deleted, to
> avoid inadvertent use. If it can be lethal in some circumstances, I must
> say
> that I have never found it anything but brilliant. I have therefore set
> up a
> shortcut to the command line decompile and named it the 'Carwash'. As I
> develop so I put each amended version through the Carwash and every time
> it
> sheds pounds. I have located the shortcut in my Unused Desktop Icons
> folder,
> where I think it is reasonably safe. By clicking Properties I can easily
> amend the command line to accept the current version of each database, as
> I
> wish to clean it up. This avoids having to reinput the whole command
> line,
> which can be lengthy and the process therefore prone to error.
>
> Since starting to use the Carwash, bloat has become a thing of the past
> and
> malfunction due to corruption is now virtually unknown. However, I pass
> this
> on 'As Is'. Don't blame me if you try it and destroy your database. The
> man
> from Microsoft indicated that it was a distinct possibility but I must
> reiterate that I have never had a moment's bother. Mind you, by using it
> regularly, I probably avoid ever presenting it with a seriously corrupted
> database.
>
> One last word on compaction. I have selected the option for automatic
> compaction every time I close my database. This is useful but the Carwash
> always shrinks the result further, sometimes substantially. Experience
> suggests that what it sheds is unwanted junk.
> --
> Peter Hallett
.
- References:
- Undeletable Form
- From: Peter Hallett
- RE: Undeletable Form
- From: '69 Camaro
- RE: Undeletable Form
- From: Peter Hallett
- Undeletable Form
- Prev by Date: Re: number records in subform
- Next by Date: RE: Forms / Subforms and Timing Event
- Previous by thread: RE: Undeletable Form
- Next by thread: Re: Undeletable Form
- Index(es):
Relevant Pages
|
|