Solved

Access query

Posted on 2011-03-22
2
146 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
[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 Comments
 
LVL 85

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

Technology Partners: 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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

729 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