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.OLEDB.4.0;Data Source=C:\SALEDB\Sale_DocBroker.mdb;User Id=;Password=;"


Here is a connect string I am trying to make work
    'conn.ConnectionString = "ODBC;Driver={SQL Native Client};Server=EAS_SBSERVER;Database=Sale_DB;Trusted_Connection=yes;"
KeithMcElroyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KeithMcElroyAuthor Commented:
follow up comment.  The adp is bound to an mdb where the connections are.
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?
0
Steve HoggITCommented:
For connection string options this is the bible:
 http://www.connectionstrings.com/?carrier=sqlserver2005
I suggest:
Provider=SQLNCLI;Server=myServerAddress;Database=myDataBase; Trusted_Connection=yes;Encrypt=yes;
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KeithMcElroyAuthor Commented:
worked like a charm
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.