Solved

'Action Failed' when trying to open an Access file

Posted on 2004-09-09
5
428 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 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
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 …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

739 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