A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

find command sql slow



 
 
Thread Tools Display Modes
  #1  
Old February 6th, 2009, 06:11 PM posted to microsoft.public.access.gettingstarted
mcnewsxp[_3_]
external usenet poster
 
Posts: 1
Default find command sql slow

any way to speed up the Find function when a form is bound to a query and
using ms sql server backend. indexing and sorting do not help. it is
hanging up.

tia,
mcnewsxp


  #2  
Old February 6th, 2009, 09:52 PM posted to microsoft.public.access.gettingstarted
John W. Vinson
external usenet poster
 
Posts: 18,261
Default find command sql slow

On Fri, 6 Feb 2009 13:11:12 -0500, "mcnewsxp" wrote:

any way to speed up the Find function when a form is bound to a query and
using ms sql server backend. indexing and sorting do not help. it is
hanging up.

tia,
mcnewsxp


Care to give us some hints about the nature of the query or the code?

Generally one would create a highly selective query retrieving just a single
record, or a small number of records, and pass that Query to SQL, rather than
binding the form to a large table and then using the Find function.
--

John W. Vinson [MVP]
  #3  
Old February 9th, 2009, 01:19 PM posted to microsoft.public.access.gettingstarted
mcnews
external usenet poster
 
Posts: 231
Default find command sql slow

On Feb 6, 4:52*pm, John W. Vinson
wrote:
On Fri, 6 Feb 2009 13:11:12 -0500, "mcnewsxp" wrote:
any way to speed up the Find function when a form is bound to a query and
using ms sql server backend. *indexing and sorting do not help. *it is
hanging up.


tia,
mcnewsxp


Care to give us some hints about the nature of the query or the code?

Generally one would create a highly selective query retrieving just a single
record, or a small number of records, and pass that Query to SQL, rather than
binding the form to a large table and then using the Find function.
--


the app was recently converted to using linked sql tables. all forms
use what ever data source they had before the conversion. the form in
question is bound to a query that contains 3 tables.
if we have to redesign we will.
just wondering if there was some known trick to make the Find function
speed up.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.