Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database exploding in size!

Status
Not open for further replies.

varich

Technical User
Aug 26, 2009
17
US
I've created an Access database with the tables on our SQL server. The database only has about 400 records so far, but the size of the .accdb file has grown to nearly 200 meg. The tables where the data is stored is on the SQL server, so I don't know why the .accdb file is growing uncontrollably. Any ideas? Did I turn something on somewhere?
 

Try doing a compact and repair.
This should eliminate any unused space.
The database will grow in size whenever you introduce a new object. Make-Table queries, for example.
During design time, this could happen a lot. Not so much later, but if it does, you can put a compact and repair command in your Close event.


Randy
 
This database has issues. The database has a password. When I open the database, it asks for the password. I put the password in, and the database opens. Then I try to do a compact and repair and it asks for the password. I type the password, and it tells me it’s the wrong password. Of course, it’s not wrong password. Then I try to turn off the database encryption. It asks for the password and asks for a verify password. I put the password in, and it tells me it’s the wrong password. Of course, it’s not the wrong password. What is going on with this database?
 
I would suggest creating a brand new, blank database.
Then, import all of the elements from the original DB.

Then, open up a code window and compile the new database.

Now, try using the newly created Access Database.

Hope This Helps,
Hap...


Access Developer [pc] Access based Accounting Solutions - with free source code
Access Consultants forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top