Advertisement

04.10.2008 at 02:40AM PDT, ID: 23311019
[x]
Attachment Details

Access 2003 adp and SQL Server 2000 connection issues

Asked by EWHTLC in Microsoft ADP, MS SQL Server, SQL Query Syntax

I have a well established Clent based recoding system using Access 2003 adp fronthend with SQL Server 2000 database.
All is working absolutely fine. Some users us terminal services, and some have stand alone PC.. Totally irrelevant for this problem..
Sometimes, and in particular every morning (and I mean every morning) a report using a stored procedure will fail on what looks to be a timeout.
The 1st person in in a morning always runs a report. Which always fails at least once before working. If they happen to be the 2nd person in, it appears to work OK.

The report is run via an access form of selection criteria, which opens an access report which uses a stored procedure (with parameters) as its record source. (Something I do a lot)

I do not program the connection to the data base, but as part of a user logging on they access tables to verify user names and security etc so I though that would be enough to establish a connection.

Does any one know why the reports seem to timeout. AS I said it always happen for ther 1st person logging on, but it can happen sporadically to anyone.

Anyone have any ideas
Here's my recordsource code

strRecordSource = "Exec [Sp_Case_Status] '" & _
                        [Forms]![frm_rep_Case_Status]![str_from_lender] & "', '" & _
                        [Forms]![frm_rep_Case_Status]![str_to_lender] & "', '" & _
                        [Forms]![frm_rep_Case_Status]![str_from_plan] & "', '" & _
                        [Forms]![frm_rep_Case_Status]![str_to_plan] & "', '" & _
                        [Forms]![frm_rep_Case_Status]![str_from_loan] & "', '" & _
                        [Forms]![frm_rep_Case_Status]![str_to_loan] & "', '" & _
                        [Forms]![frm_rep_Case_Status]![str_from_date] & "', '" & _
                        [Forms]![frm_rep_Case_Status]![str_to_Date] & "', '" & _
                        [Forms]![frm_rep_Case_Status]![str_status] & "', '" & _
                        [Forms]![frm_rep_Case_Status]![str_from_proc] & "', '" & _
                        [Forms]![frm_rep_Case_Status]![str_to_proc] & "', '" & _
                        [Forms]![frm_rep_Case_Status]![str_sort] & "'"
Start Free Trial
[+][-]04.15.2008 at 09:04AM PDT, ID: 21359913

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.15.2008 at 09:40AM PDT, ID: 21360274

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.15.2008 at 12:07PM PDT, ID: 21361729

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.15.2008 at 08:55PM PDT, ID: 21364654

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft ADP, MS SQL Server, SQL Query Syntax
Sign Up Now!
Solution Provided By: adraughn
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.15.2008 at 08:56PM PDT, ID: 21364659

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.15.2008 at 09:00PM PDT, ID: 21364676

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.16.2008 at 04:05AM PDT, ID: 21366388

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628