Solved

Access query

Posted on 2011-03-22
2
145 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 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

Independent Software Vendors: 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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
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.
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…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

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