bongmarley
Programmer
I am trying to run a page where i make a large update to an sql server database. If I run the update but only update a few records aprox 15 or so it will let me update. However if i try to update a large amount of records 20 or more it
gives me this error
Microsoft OLE DB Provider for ODBC Drivers (0x80040E31)
[Microsoft][ODBC SQL Server Driver]Timeout expired
here is my update code
con.execute("Update DaysTaughtAndClaimed set recdate='"&request("recdate"&getrec("id"
)&"',Reason='"&Replace(NewReason("Description"
,"'","''"
&"', ReasonCode="&NewReason("Code"
&", sub1Payrate='"&request("sub1Payrate"&getrec("id"
)&"', sub1percentageofday="&request("sub1perecnt"&getrec("id"
)&", PercentageOfDay="&request("perecnt"&getrec("id"
)&", PortionOfDay='"&request("portion"&getrec("id"
)&"',ReasonType='"&getRType("ClaimableorUnclaimable"
&"/"&getRType("WithpayorWithoutpay"
&"' where id="&getrec("id"
&"<br>"
gives me this error
Microsoft OLE DB Provider for ODBC Drivers (0x80040E31)
[Microsoft][ODBC SQL Server Driver]Timeout expired
here is my update code
con.execute("Update DaysTaughtAndClaimed set recdate='"&request("recdate"&getrec("id"