Solved

'Action Failed' when trying to open an Access file

Posted on 2004-09-09
5
414 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
  • 2
  • 2
5 Comments
 
LVL 65

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 65

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
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…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now