access fe to sql be odbc failed sometimes

D

Denise

how do i know if it is my programming or the network. Jet query to a linked
table with more than 30k records that returns 5 records based on the where
clause. Sometimes the query works sometimes i wait 5 minutes before i get
odbc failed. I have been quetioning the network as i also have a access fe
and be and it takes 5 minutes to run a query when the be is on the network
but when i put the fe and be on the same machine the query takes a second.
Help/suggestions. Thank you
 
J

John Spencer

Check the anti-virus software to make sure it is not interfering. It should
not be checking the transmission of data.

Make sure you have an index on the field(s) you are using to filter the records.

I would suspect the network if the same exact query fails one time and runs
quickly another time. I assume (you did not say) that you are talking about
the same computer running the query. If things run good on one computer and
consistently fail on another, you might want to have your IT folks check the
NIC card on the mis-performing computer.

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top