Re: Run-time error 2147217841 Query Timeout expired
- From: "Ron Weiner" <rweineratworksritedotcom>
- Date: Thu, 26 Jul 2007 02:44:50 -0400
Without seeing all of your code, I'd guess you are getting a time out on
your connection object. Are you opening and closing your connection on each
hourly call, or are you opening the connection once at the beginning of your
app, and expecting to stay alive whilst the app is sleeping between hourly
updates?
Ron W
"jonny" <nelsonj4@xxxxxxxxxxx> wrote in message
news:1185410793.361958.199220@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am gettting a error message when I update a record set:
Using VB 6 and SQL Server express:
Every hour I call a sub routine that performs the code below. Works
great the first hour but the second hour it locks up and gives me an
error message "Query timeout expired".
With mrsAutoData
mrsAutoData.Requery
mrsAutoData.MoveLast
!rawdataid = frmrawdata.txtIDMain
!productionarea = frmrawdata.ctlProductionArea
!workstation = frmrawdata.ctlworkstation
!Date = Now
!shift = frmrawdata.txtShift
!Hour = frmrawdata.cboHourChoice
!hr1uptime = TimeAsMinutes1
!hr2uptime = TimeAsMinutes2
.Update
End With
Please help...
.
- Follow-Ups:
- References:
- Run-time error 2147217841 Query Timeout expired
- From: jonny
- Run-time error 2147217841 Query Timeout expired
- Prev by Date: Re: Package and deploy
- Next by Date: Re: Show graphics form like in Access
- Previous by thread: Re: Run-time error 2147217841 Query Timeout expired
- Next by thread: Re: Run-time error 2147217841 Query Timeout expired
- Index(es):
Relevant Pages
|