Solved

'Action Failed' when trying to open an Access file

Posted on 2004-09-09
5
430 Views
Last Modified: 2008-01-09
I am trying to open an Access .mdb file on my WinXP system - using Office XP. The file was with Access 2000. The file is supposed to open to a GUI interface - I believe that this is a VB macro - In any case, when I try to open the file, all I get is an 'Action Failed' error. The file itself is fine, I have downloaded it to another system with the same version of Access that I have, and it opens with no problems. I have done a clean install of the entire office suite, and still the file fails to open. Any help would be appreciated.
0
Comment
Question by:the_keithm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 66

Accepted Solution

by:
Jim Horn earned 500 total points
ID: 12018325
I'd step through this in Debug mode...

(1)  Find the Startup form (Tools:Startup, see what's in 'Display Form/Page')
(2)  Open it, and in the form.Open event type the word STOP.
(3)  Save the application, then close, then open again.
(4)  You should see the code behind the startup form, with a the word STOP highlighted in yellow.
(5)  Keep hitting the {f8} key until the error occurs, and then you've found it.  

Not sure how to do this if it's an AutoExec macro, as I've switched to all code a long time ago.

Hope this helps.
-Jim
0
 
LVL 41

Expert Comment

by:shanesuebsahakarn
ID: 12018338
That indicates that there is some code in the Autoexec macro that is failing. Check the references. Open the database while holding the SHIFT key down to bypass startup code. Open the VBA window by pressing CTRL+G. Click Tools->References. Check if any are listed as MISSING or BROKEN. If so, uncheck them, close the window, open them and add them back in again. If none are broken or missing, uncheck as many as you can (some cannot be unchecked), close the window, open it again and check them back.
0
 

Author Comment

by:the_keithm
ID: 12028613
Thank you for the suggestions - I will try them out over the weekend, and get back to you with the results(and points).
0
 

Author Comment

by:the_keithm
ID: 12029905
Well, that last error from the debugging got it -here's the fix if you're interested:

http://support.microsoft.com/?id=833220
0
 
LVL 66

Expert Comment

by:Jim Horn
ID: 12029924
Good to know.  Thanks.  -Jim
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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