Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / October 2007

Tip: Looking for answers? Try searching our database.

Which way is better?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chemicals - 30 Oct 2007 22:19 GMT
I am trying to determine the most efficient method for querying data on a
backend SQL Server.  Most of the queries require a parameter (or two)  to be
passed and are all called from the VB code within a Form.

Is it:

A.) OpenRecordset "SELECT * FROM TABLE WHERE CONTRACT='AAA';

B.) Use a QueryDef with parameters

C.) Use an Access Query and pass parameters

Thanks
Jeff Boyce - 31 Oct 2007 00:59 GMT
There are so many other potential factors (size of table, indexing, network
connections, network traffic load, ...)...

What happens when you try the different approaches?

Regards

Jeff Boyce
Microsoft Office/Access MVP

> I am trying to determine the most efficient method for querying data on a
> backend SQL Server.  Most of the queries require a parameter (or two)  to
[quoted text clipped - 10 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.