×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

First Attempt SQL Backend and MS Access Front End

First Attempt SQL Backend and MS Access Front End

First Attempt SQL Backend and MS Access Front End

(OP)
Hi

New to this forum, so if I posted in the wrong place please relocate.

I have a backend hosted online I am connecting to via dsn file. Not worried about exposing passwords etc to users at this stage not part of this discussion please.

I have sped the form load times up by restricting records returned on loading to the first five records, however it is then seeming to take a very long time to search...I am using

CODE -->

strSQL = "SELECT dbo_Clients.Clientid, dbo_Clients.AccountContact, dbo_Clients.AccountEmail, dbo_Clients.Address, dbo_Clients.Name, dbo_Clients.OfficePhone, " & _
             "dbo_Clients.PostCode, dbo_Clients.ShentonAcc, dbo_Clients.Suburb " & _
             "FROM dbo_Clients " & _
             "WHERE (((dbo_Clients.Clientid)= " & Me.cboClientSearch & "));"
             
    Me.RecordSource = strSQL
    
    Me.Requery 
Based on my limited understanding this is about as fast as I can get the query, however it is still too slow.

Is there a way I can change this to be a passthrough query?

How do you do that?

As I understand it a passthrough would be processed on the SQL Server and only send back the single record via the connection?

Thanks

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close