Solved

ODBC connection issue

Posted on 2011-09-05
14
286 Views
Last Modified: 2012-05-12
I have a Access 2010 frontend connected to a SQL Server 2005 Express backend.  

I was able to use Access 2010 to migrate my tables using ODBC to the SQL Server.

I can open my Access 2010 frontend.  I am able to open tables, run queries, and open some forms and see data.  

However, when I open one form, I get a ODBC failed message.  

This does not make sense to me that it would connect and show me data from all tables but not show me information on this one form.

Please help.
0
Comment
Question by:Bergan2
[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
  • 6
  • 5
14 Comments
 
LVL 8

Expert Comment

by:ee_reach
ID: 36484962
You will probably get access to more experts in SQL Server by moving this to the SQL Server forum instead of the MySQL forum.  Just a suggestion.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36486134
<Access 2010 to migrate my tables using ODBC to the SQL Server.>
Migrate or "Link"?

In any event run the linked table manager again and try refreshing the links.

<However, when I open one form, I get a ODBC failed message.  >
Or, check the Recordsource for this form and make sure that it is linked in the Linked table manager.

0
 

Author Comment

by:Bergan2
ID: 36486193
Thanks guys, I redid some VBA coding that worked in  Access 2007 but does not work in 2010 and now the connection is working well.

Thanks again.
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36486411
If you post the code you "redid" you can accept your own post as the solution.
0
 

Accepted Solution

by:
Bergan2 earned 0 total points
ID: 36493372
I've requested that this question be closed as follows:

Accepted answer: 0 points for Bergan2's comment http:/Q_27292008.html#36486193

for the following reason:

I reworked VBA code.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36493373
http://www.experts-exchange.com/Database/MySQL/Q_27292008.html?cid=238#36486193
...only states that some code was "redid"

If the actual code is posted, then that post would be valuable as a solution.
0
 

Author Comment

by:Bergan2
ID: 36495631
I don't want any points.  
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36496402
...accepting your own post will not give you (as the asker) any points.

My point here was that if you want to "Accept" any post, then that post must contain a valid solution.

You originally wanted to accept (as the solution) your post that only said "I redid some VBA coding ..."
This would have marked that post as the "Solution".
This means that any other member searching here for the same issue would see that and wonder what the actual "Redid" code was that actually fixed the issue.

Again, so why not simply post the actual code and accept your own post...?
If the code is confidential and cannot be posted, then simply request that the Q be closed.

JeffCoachman
0
 

Author Comment

by:Bergan2
ID: 36498611
Thanks for the explanation.  I didn't understand.  

Please close this question.  Thanks.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36498994
Experts cannot close questions, only admins can.
So you must click the "Request Attention" link and ask that the Q be deleted.
0
 

Author Comment

by:Bergan2
ID: 36525335
Thanks for the information.  I do not have access to the code anymore.  I was working on a project via an RDC connection. I have finished the project.  Thank you everyone for your help.  
0
 

Author Closing Comment

by:Bergan2
ID: 36553499
I was able to solve my own problem and I am grading myself.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

707 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