473,421 Members | 1,642 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,421 software developers and data experts.

Database doubles in size, when forms deleted even when compacted!

Here's a strange one. I made a modification to a database recently, and
wound up getting an error message when trying to make an mde file. I'm
using Access XP/2002, and the error message I got was "Microsoft Access was
unable to create an mde database". After researching the error and the
solutions, I've run the gamut of solutions (or comply with the requirements)
when I came across the "maximum table ids" issue which can cause this error.

Although the database is quite large, I can't really see that being an issue
since I just made an mde out of the database a few days ago. The FE
database seems a little larger than usual (about double the size it normally
is from around 40mb to 96mb), but I didn't think too much of it. To test
it, I deleted about 1/2 the forms in the database, and compiled it. The
database doubled in size again to about 186mb. I figured o.k. when I
compact it, it will likely go back to a reasonable size, but it didn't.
EVEN COMPACTED with HALF the forms, the database is STILL 186mb!

I've rebooted, I'm using the latest service pack, it's running on a Windows
XP machine with the latest service pack. On top of all that, I still can't
create an MDE file!

Any ideas? I'm all out!

Thanks!
Dec 11 '05 #1
12 1704
I should also mention that I did create a new database and imported all
objects into it, compiled and compacted it, and it's STILL producing the
same problems, including it's immense size.
Dec 11 '05 #2
Still not sure what happened, but here's how I got around it.

I converted the db from XP/2002 to a 2000db, then I converted it back to an
XP/2002 db. reduced the size from 186 to36mb.
"Jozef" <me@you.com> wrote in message
news:LsNmf.251386$ir4.250710@edtnps90...
I should also mention that I did create a new database and imported all
objects into it, compiled and compacted it, and it's STILL producing the
same problems, including it's immense size.

Dec 11 '05 #3
"Jozef" <me@you.com> wrote
I should also mention that I did create a new database and imported all
objects into it, compiled and compacted it, and it's STILL producing the
same problems, including it's immense size.


For one thing, you should have split your database into a front-end (tables,
data, and relationships) and a back-end (queries, forms, reports, macros,
and modules). You link to the tables in the back-end from the front-end.
Only the front end need be compiled to MDE, but both the front and back ends
may have to be compacted.

There's a menu entry for the Splitting Wizard, or, you could simply make two
copies of your database, eliminate from each copy those things that you
don't need. Then find an appropriate folder in which to store the back end -
shared by all users.

Larry Linson
Microsoft Access MVP
Dec 11 '05 #4
On Sun, 11 Dec 2005 06:32:11 GMT, "Larry Linson" <bo*****@localhost.not> wrote:
"Jozef" <me@you.com> wrote
I should also mention that I did create a new database and imported all
objects into it, compiled and compacted it, and it's STILL producing the
same problems, including it's immense size.
For one thing, you should have split your database into a front-end (tables,
data, and relationships) and a back-end (queries, forms, reports, macros,
and modules). You link to the tables in the back-end from the front-end.
Only the front end need be compiled to MDE, but both the front and back ends
may have to be compacted.

There's a menu entry for the Splitting Wizard, or, you could simply make two
copies of your database, eliminate from each copy those things that you
don't need. Then find an appropriate folder in which to store the back end -
shared by all users.

Larry Linson
Microsoft Access MVP


The FE database seems a little larger than usual

I think this would suggest that he has split the database Larry.

Wayne Gillespie
Gosford NSW Australia
Dec 11 '05 #5
Yes, the database is split, and I was only referring to the FE or the Front
End.

"Wayne Gillespie" <be*****@NOhotmailSPAM.com.au> wrote in message
news:4r********************************@4ax.com...
On Sun, 11 Dec 2005 06:32:11 GMT, "Larry Linson" <bo*****@localhost.not>
wrote:
"Jozef" <me@you.com> wrote
>I should also mention that I did create a new database and imported all
> objects into it, compiled and compacted it, and it's STILL producing
> the
> same problems, including it's immense size.


For one thing, you should have split your database into a front-end
(tables,
data, and relationships) and a back-end (queries, forms, reports, macros,
and modules). You link to the tables in the back-end from the front-end.
Only the front end need be compiled to MDE, but both the front and back
ends
may have to be compacted.

There's a menu entry for the Splitting Wizard, or, you could simply make
two
copies of your database, eliminate from each copy those things that you
don't need. Then find an appropriate folder in which to store the back
end -
shared by all users.

Larry Linson
Microsoft Access MVP


The FE database seems a little larger than usual

I think this would suggest that he has split the database Larry.

Wayne Gillespie
Gosford NSW Australia

Dec 11 '05 #6
You couldn't imagine a 96 megabyte front end , Larry? Me neither.

I try to keep my front ends small enough to fit on a 3.5 floppy.

Dec 11 '05 #7
I had a similar problem to this years ago when I was starting out. The
more I tried to reduce the size of the database by creating fresh front
ends and importing objects the worse it got. Compacting, decompiling
etc. didn't work. Then I realised that when I was importing the tables
to my fresh database, I was also importing the system tables. They were
being named MSysObjects_1, and_2 etc. The database grew exponentially
in size very quickly and I had a front end that should have been 25mb
up at 135mb.

If this was the same problem, I'm not sure how converting to a2k and
back could have sorted it for you - but it's just a thought.

Dec 12 '05 #8
>I try to keep my front ends small enough to fit on a 3.5 floppy.

Lyle, that's interresting - I have a front end hovering around 20mbs
after compact...
But it is pretty big - 600 queries, 160 linked tables, 80 local tmp
tables (always emptied after use), 140 forms, 260 reports, 120 modules
and a handful of *ahem* macros.

It was double that before I took over it and cleared out the
non-essential crap.
If you could give any pointers on how to bounce this down to floppy
size I would be eternally in your debt!

Dec 12 '05 #9
I'll just content myself with admiring you for clearing out the
non-essential crap and shut up, Bill.

Dec 12 '05 #10
Sorry, I've just re-read my post and it sounds like I'm being a smart
arse - but I'd genuinely like to try to strip down the size... but
short of a complete re-design I'm out of ideas. sadly i think that's
because there are no more tricks :(

Dec 12 '05 #11
Bill
I didn't think you were being a smart arse.

I did not want to get into a discussion of big front ends; this would
lead to a discussion of
- temp tables (I never use any);
- msde (where queries live in the backend) -> which would lead to a
discussion of ADPs and ODBC and maybe even ADO;
- Access as a suitable vehicle for a BIG application such as you
describe.

We've had many discussions here in CDMA about these things. Many
regulars don't agree with me about them. The discussions go on and on
and sometimes get nasty. I don't see any point in going there again.

I think you are a new poster to CDMA (I haven't noticed you before).
Your post seemed intelligent. We don't get so many of these anymore. I
wanted to encourage you to stay, not to go.

I know of only a few ways to keep the size of the FE in check:

a) no images on forms;
b) prevent temporary (JET created without asking) queries;
c) no temp tables; use ADO recordset save and open to text files if
necessary, but try to make it not necessary);
d) frequent savingastext all objects and reloadingastext to get rid of
the crud (during development);
e) having an efficient coding and object designing style;
f) don't use wizards.

I'm not saying that any of these is the right thing to do; I'm saying
they are the things I try to do.

Dec 12 '05 #12
Thanks Lyle,

I'm afraid it looks like a complete re-design then for my inherited
bloatware... which is not going to happen this side of an upgrade to
..net vs sql server (a prospect which both terrifies me to my core and
is pretty exciting)
b) prevent temporary (JET created without asking) queries;


....interesting - I'll look into that

Dec 12 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Danny J. Lesandrini | last post by:
I know this has been discussed before, as I've seen the Google posts, but they all leave me with an unanswered question: Does my DAO code executed in the front end cause the back end to bloat?...
7
by: Terry | last post by:
I am a relative newcomer to database applications and am in the process of creating a simple database which tracks Student Details and Exams. My database has: 3 Tables (about 100 records in...
10
by: MHenry | last post by:
Hi, We were going merrily along for 6 years using this database to record all client checks that came into our office, including information about what the checks were for. Suddenly, network...
14
by: L Mehl | last post by:
I tested a FE/BE application developed in A2000 on a A2002 machine and got this message when exiting the app. Clicking the only available button "OK", exits the application, as intended. The FE...
40
by: Jeff | last post by:
I have a system on a network and want to determine if anyone is currently connected to the back-end files. An interesting twist is that I have noticed that some users can be connected (have the...
3
by: Knick via AccessMonster.com | last post by:
I am novice to MS Access Development, I regularly back my access database every 2, 3 days ...today when I was going to back my database I saw the access file on the network drive was only 9 MB...
10
by: Jim Devenish | last post by:
I have a split front end/back end system. However I create a number of local tables to carry out certain operations. There is a tendency for the front end to bloat so I have set 'compact on...
49
by: ARC | last post by:
Hello all, I have one chance to get this right, as I'm nearing a release of a program. I've looked at the database settings, and so far, have set the following: * Unchecked 'Enable design...
3
by: iheartvba | last post by:
Hi, I have an access mdb file where I have deleted all the queries and forms, but the size of the database is still the same it was 50Mb before and it is still 50Mb now, even after doing a compact...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.