Solved

Is anyone else experiencing strange goings on within Access 2007?

Posted on 2011-09-24
3
181 Views
Last Modified: 2012-05-12
Suddenly it overrides my instructions.  For instance, I remove a macro, but it stlii operates; or I create a query, using only selected fields. but Access insists I must have all of them, even though it results in wrong responses.

It's driving me mad
0
Comment
Question by:msmerry
3 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 350 total points
ID: 36591925
Anytime you have odd behavior in Access, you should first perform maintenance. Make a backup first, then do this:

1) Compact the database (Office Button - Manage - Compact)
2) Compile the database - from the VBA Editor click Debug - Compile. Fix any errors, and continue doing this until the menuitem is disabled
3) Compact again

At times you may need to decompile the database. To do that, make a backup, then build a shortcut like this:

"full path to msaccess.exe" "full path to your database" /decompile

After doing this, go through the 3 steps above again.

Even after doing this, it's often a good idea to move your objects to a new, blank database. To do that, build a new database and then use the External Data ribbon item to import all the objects from your old database to the new one.

Also make sure that your Office/Access and Windows installations are up to date.

Be sure that you're not experiencing virus/malware activities. Run a virus/malware scan.

Determine if the trouble is in the database, or on the machine. To do that, open a new, blank database and try to recreate the same behavior (i.e. add a macro, then remove it, etc etc). Open another database on the same machine, and see if the same behavior occurs. If it doesn't, then chances are the trouble is with the database. If the same behavior DOES occur in multiple databases on the same machine, then chances are the trouble is with Access or Windows.

If the trouble occurs on MachineA but not MachineB, chances are the trouble is with MachineA's configuration. Update Windows/Office, run a virus/malware scan, etc etc. If those don't resolve your troubles, look into the history of the machine - has the machine recently been updated? If so, you might try rolling back those updates if possible.

Also, sometimes an uninstall/reinstall (or Repair) of Office/Access will fix a configuartion problem.
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 150 total points
ID: 36594242
...and sometimes a simple reboot will help as well...
0
 

Author Closing Comment

by:msmerry
ID: 36908137
I did the first step - Compact - and didn't need to go any further, thankfully, as Compiling confuses me terribly  I can click Debug>Compile, but am lost when it finds an error because I can never work out what to do with it.
Rebooting is also something I should have considered
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
hit enter key to run macro 13 23
ms access 2010 vba, copy table from db1 to db2 from db3 27 46
Dlookup MSACCESS 5 25
My SQL as Backend for Access 3 14
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question