Queries.Add

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

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

Type: String

  • Connection [in]

Type: Variant

  • DestinationCaseNo [in]

Type: Integer

  • DestinationVariable [in]

Type: Variant

  • CommandText [in,optional]

Type: String

Query