troubleshooting Question

Odbc linked tables - search slow.

Avatar of edaj6
edaj6Flag for Denmark asked on
Microsoft Access
12 Comments1 Solution2818 ViewsLast Modified:
Hi,

In my accDB with tables linked to sql server I have a form where recordsource is a table with +60K records. When I use access "build in search" it is very slow (+60sec). In ADP the result is < 3sec.

Is ODBC/Linked tables not using table indexes, is there any way to speed up search?

I have tried creating custom vba search as below, its working but is really slow too.

Set rs = frm.Recordset.Clone
rs.FindFirst "[" & strSearchField & "] = '" & strSearchFor & "'"
frm.Bookmark = rs.Bookmark

Also when searching directly in tables linked tables are much slower than adp. Is this by design or could I be doing something wrong?

Thanks,
Jakob
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 12 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros