Home Cart [Log In] About Us Contact Us

Object Reference

xf_DbConnectDatabase Access Wrapper

Public Sub SetPassThroughConnectionString (
PassThroughConnectionString As String

Set the default connection string for DAO pass-through queries. This can be overridden in the ExecutePassthroughQuery method, but is useful when multiple pass-through queries are to be executed on the same database.

PassThroughConnectionString as String

The ODBC connection string

Call Template:

xf.DbConnect.SetPassThroughConnectionString PassThroughConnectionString

See Also:

Example 1:

dbc.SetPassThroughConnectionString "ODBC;DRIVER=SQL Server;SERVER=SQLEXPRESS;DATABASE=XfData;Trusted_Connection=Yes"
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd