Queries.AddEx2

This function adds a query by the specified name to a queries collection.

Syntax Parameters Return Value
Function Queries.AddEx2( _
    QueryName As String, _
    Provider As String, _
    Connection As Variant, _
    DestinationCaseNo As Integer, _
    DestinationVariable As Variant, _
    Optional CommandText As String, _
    Optional AQDB As Boolean) As Query
  • QueryName [in]

Type: String

  • Provider [in]

Type: String

  • Connection [in]

Type: Variant

  • DestinationCaseNo [in]

Type: Integer

  • DestinationVariable [in]

Type: Variant

  • CommandText [in,optional]

Type: String

  • AQDB [in,optional]

Type: Boolean

Query