MS Access 2007 .accdb extremely slow - ms-access-2007

My company will be upgrading from Access 97 databases to Access 2007. I have created an .accdb file and have imported the objects from the Access 97 .mdb file. The problem now I see is that even clicking on a button that just opens a form (no significant code behind it) takes 5 min. Going into a design mode for a form takes like 3 min. What could be wrong here?
I compared this with the MDE version of this file that I created and no problem. Clicking on the button, the form loads right away. But this should not be happening just because it's an .accdb file. Am I doing something wrong here?

Before you import any objects have you compacted and repaired and cleaned your database?
Also is your data split between the forms, reports, etc. In addition, do you have an MDB BE (back end) that has tables and the MDB FE (front end) has only a link to the tables. If you don't you may want to consider it. First try a compact and repair from the tools menu.

Related

Creating a working copy of an old Access 2010 database

I am tasked with fixing some bugs that an access 2010 database, written 10 or so years ago, has. The database has been functioning but has a few bugs in report generation that need to be fixed (ie: bugs are not impeding overall functionality).
Since I am relatively new to access 2010, I wanted to create a working copy of the entire database, VBA and all, so that I could get into the VBA code and figure out what is causing the bugs without accidentally sending some of the automatic emails or changing pertinent information in the data. I have tried saving the database with a new name, copying it in the folder and pasting elsewhere, and creating a backup and saving that elsewhere.
Each attempt yields the same issue: the VBA project not being readable. It gives the following message when I open any copy:
if included picture doesn't load: tl/dr: database cant be opened because VBA project cant be read, if "ok" is clicked vba project will be deleted..I have searched high and low, asked everyone that has used the database, nobody knows how to fix the issue and I do not feel comfortable changing anything in the live copy.
Any assistance would be greatly appreciated. Thank you in advance.
One option you might try is to create a new blank database file and attempt to import all of the database objects from a copy of your target database into the new database file using the import wizard. If that's successful it won't be an exact replica of the previous database with regards to settings, but will include all of the database objects/code at least.

Access database "Corrupt" in 2007; opens in 2010

I have an accdb database that is used by multiple individuals and stored on a network share. When opened in Acccess 2007 the following message appears:
Cannot open database "\\databasepath\filename.accdb". It may not be a database that your application recognizes or the file may be corrupt
Access 2010 opens the database with no problems.
What is the most common cause of this issue? I searched for database repair tools and can't find any Microsoft tools for accdb files (JetCompact didn't do it). I ran a compact and repair via Access 2010, did a save as locally and then copied it over to the share - no effect.
Other than magically upgrading all my users to Access 2010 (which won't happen) I'm in the dark here.
You may have some features you're using in 2010 that aren't supported in 2007.
Look here for more info.
Most likely someone opened it in 2010, edited your report and saved the change. This will break 2007 every time. 2010 is NOT backwards compatible with 2007
I would make a back-up, make another back-up and then first try importing all but the tables that contain attachments into a new database.
you can also check this: https://dba.stackexchange.com/questions/71906/ms-access-mdb-ldb-database-corrupted

How do I open / edit a .sdb file

I have a .sdb database file which I need to open. It's the database behind Song Pro (http://creationsoftware.com/).
Google seems to think that openoffice may be able to open this, as it might come from star office. But I can't persuade the file to open in Base 3.2 and there are no reliable instructions as most google results are of the extension definition type.
Initially I could do with doing this in a database browser to see how the database is laid out. But assuming it is holding the correct data I will then want to do this programmatically.
Any help much appreciated.
Thanks
Jona
This page says that the SongPro .sdb file is an MSAccess database and you can just rename it to .mdb and open it with MS Access. There's also a script linked that someone has written to convert the contents of the database.

How do I edit an Access ADP file?

So I have this Access Database Project file that I have been tasked to edit. I have Access 2003 and 2007 installed. The ADP only supports 2003 for some reason. Anyway, the issue I have is that I can't figure out how to get to the VBA code in behind things.
The previous developers have done a very good job of locking everything down on the GUI such that the only thing I get when I open the application is a notice saying that it can't find the database on the server. (More than likely there is a problem there too, but since I can't look at code I don't know for sure.)
Does anyone know how to get around the GUI lockdown that has gone on here?
Michael
As it turns out, you can edit an ADP file that has all of the form information turned off by finding the file using Windows Explorer by highlighting the file, then hold shift, and then hit enter. You continue to hold shift until the interface is loaded.

How can I stop user being able to stop design view on a query in Ms Access 2007?

I am about to release some reports in Access 2007 and I need to lock down the Queries so that no one can change the queries does any one know how I can do this in Access 2007?
Please Note: Simply adding a GUI and hiding the "database window" is not enough as people can still get in with the right key stroke etc.
You could Make an .ACCDE, and give that to your users to execute.
You can create an .accde file from an
.accdb file by clicking Database Tools
on the Office Fluent Ribbon, and then
clicking Make ACCDE. When you create
an .accde file, Access compiles all
the code in the database and strips
the editable version of the code from
the new .accde file. This process both
reduces the size of the resulting
database and guarantees that no one
can change the original source code.
When you open an .accde file in
Access, the form and report designers
and the Visual Basic Editor are not
available. In addition, you cannot
transfer forms, reports, and modules
to another database by export or
import.
However, since an ACCDE is apparently less secure than its predecessor the MDE, your best bet might be to convert the database to Access 2003 format by using the Save As command, and making an MDE from that. If you open an older .mdb file in Access 2007, a Make MDE command appears on the Database Tools tab instead of the Make ACCDE command that appears when you are working in an Access 2007 database.
In Access, if you click the Windows button and then Access Options, then Current Database, you will see options to disable navigation and keyboard shortcuts.