×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Rather than MSDASQL, if you have client access use IBMDA400.  This will execute
more effieciently.

Sample connection string...:


Public cnDB2 As ADODB.Connection
Set cnDB2 = New ADODB.Connection
cnDB2.Open "Provider=IBMDA400;Data Source=192.168.1.2;", "", ""
cnDB2.CommandTimeout = whatever value you want...


On 4 Nov 2002 at 11:24, MWalter@hanoverwire.com wrote:

>
> 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.
> mwalter@hanoverwire.com
> http://www.hanoverwire.com
> 717.637.3795 Ext.3040
> /"\
> \ /
>  X
> / \
>
>
>




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.