?
Solved

Access query

Posted on 2011-03-22
2
Medium Priority
?
148 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 2000 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 your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

765 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