Solved

Access query

Posted on 2011-03-22
2
141 Views
Last Modified: 2012-05-11
Hi,

Ive created a Macro that does a couple of things in Access, due to the linked table being queried by multiple users, i often get the error OBDC call failed. I am scheduling this report to run over night, so am wondering can i increase the amount of calls into the linked table before it halts the macro?

Thanks
Seamus
0
Comment
Question by:Seamus2626
2 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 35189109
There are some ODBC settings you can try to tweak. You didn't say what version of Access you're using, so I can't provide specifics, but this might help.

What does your macro do? If you're working with server-based tables, in almost every case you are far, far better off using standard VBA coding to do this (i.e. run SQL directly on the connection, create new connections, etc etc)
0
 

Author Comment

by:Seamus2626
ID: 35189596
Thanks for that, im 2003

This is my DB, im quite a basic access user so i believe i am just querying the server tables, can you confirm?

Thanks
Seamus
Triple-Link-2011-03-22.zip
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

762 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

22 Experts available now in Live!

Get 1:1 Help Now