|
Mark - that did the trick! Thanks very much! And thanks to the others who replied as well (ps: Eric, I checked QQRYTIMLMT and it was set to *NOMAX, but that seemed like a good gues. . . ) midrange-l@midrange.com writes: > >It is set in the CommandTimeout property of the connection object. You can >set it like this: > >Dim cn As ADODB.Connection >Set cn = New ADODB.Connection >cn.Open "Provider=MSDASQL.1;Persist Security Info=False;Data >Source=Orderentry6;Mode=ReadWrite" >cn.CommandTimeout = 120 > >If you want unlimited time for you request, set the property to zero. > >Thanks, > >Mark > > >Mark Walter >Sr. Programmer/Analyst >Hanover Wire Cloth a div of CCX, Inc. Mike Naughton Senior Programmer/Analyst Judd Wire, Inc. 124 Turnpike Road Turners Falls, MA 01376 413-863-4357 x444 mnaughton@juddwire.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.