[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

ODBC connection issue

Posted on 2011-09-05
14
Medium Priority
?
291 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
  • 6
  • 5
12 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

873 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