Public Function ExecutePassthroughQuery ( SQLString As String, Optional ConnectString As String = "" ) As String
Execute the passed SQL as a passthrough query to the back end specified by the connection string. A passthrough query executes the SQL directly against the server without JET involvement.
SQLString as String
The SQL to execute
Optional ConnectString as String = ""
The connection string
Call Template:
Dim s As String
s = xf.DbConnect.ExecutePassthroughQuery(SQLString)
s = xf.DbConnect.ExecutePassthroughQuery(SQLString, ConnectString)