Solved

Access 2003: Error Executing the Command

Posted on 2008-09-29
3
1,349 Views
Last Modified: 2012-05-05
I have an Access application in which you can open various forms from a switchboard. The database is in an Access 2000 file format. I can run the application successfully on some  PCs, using either Access 2000 or 2003. All clients are on Windows XP.

My problem is that I have configured 2 new PCs that cannot run all of the selections from the switchboard. A couple of the choices generate an error saying There was an error executing the command. The only difference I can find is that on the PCs that work, the Jet Core Components only has Jet 2.x version 3.51.0623.0. On the newly configured PCs there are both Jet 2.x and 3.x core components on version 4.00.9502.0.

Do I need to update my Access application so the newer versions of Jet can work? Or should I go back a version of Jet on the client PCs? I want to be sure that whatever solution I use all users will still be able run the application. We have a mixed environment of clients running Access 2000 and 2003.
0
Comment
Question by:brdlckhrt
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 250 total points
ID: 22601001
Start by opening the Switchboard Table and see what the Argument is - what is being executed ... a Macro, Open Query, etc.  The, check those objects - see if a query (for example) will run, or the macro will run, etc.

mx
0
 

Author Comment

by:brdlckhrt
ID: 22687992
When I checked the Switchboard table, a form was trying to be opened with my selection. I tried to open the form directly and received a message saying the ODBC connection failed. It turns out I hadn't configured the ODBC connection.

Thanks for your help.
0
 

Author Closing Comment

by:brdlckhrt
ID: 31501387
I found out I failed to configure the ODBC connection.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

749 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