Solved

Access query

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

910 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