Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Is anyone else experiencing strange goings on within Access 2007?

Posted on 2011-09-24
3
Medium Priority
?
192 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 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 1400 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 600 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
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…

972 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