KeithMcElroy
asked on
Access 2003 adp, mdb and SQL Server 2005 Performance Issues
I have an Access 2003 ADP that is linked to a .mdb. The sysem outputs a complex word document and does so by calling numerous sql statements to retrieve data. When we upgraded from SQL2000 to SQL2005 performance went downhill. In some cases the program can not connect to SQL server at all.
So, how can I update/optimize the sql statements and the method I use to call them so they will perform at their best?
Here is the connect string I am using
Dim conn As ADODB.Connection
Set conn = New ADODB.Connection
conn.ConnectionString = "Provider=Microsoft.Jet.OL EDB.4.0;Da ta Source=C:\SALEDB\Sale_DocB roker.mdb; User Id=;Password=;"
Here is a connect string I am trying to make work
'conn.ConnectionString = "ODBC;Driver={SQL Native Client};Server=EAS_SBSERVE R;Database =Sale_DB;T rusted_Con nection=ye s;"
So, how can I update/optimize the sql statements and the method I use to call them so they will perform at their best?
Here is the connect string I am using
Dim conn As ADODB.Connection
Set conn = New ADODB.Connection
conn.ConnectionString = "Provider=Microsoft.Jet.OL
Here is a connect string I am trying to make work
'conn.ConnectionString = "ODBC;Driver={SQL Native Client};Server=EAS_SBSERVE
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
worked like a charm
ASKER
is there a way of setting the connectin one time for all of the functions instead of opening and closiing on each call to a function?