Home Cart [Log In] About Us Contact Us

Object Reference

xf_DbConnectDatabase Access Wrapper

Public Sub SetCommandTimeout (
TimeoutSecs As Long

Set the query timeout for ADO sources. This is not applicable to DAO/ODBC. Note that this applies to the return time of the specific query, not the connection in general.

TimeoutSecs as Long

The timeout in seconds

Call Template:

xf.DbConnect.SetCommandTimeout TimeoutSecs

See Also:

Example 1:

dbc.SetCommandTimeout 300  ' five minutes
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd