Skip to content

Commit

Permalink
extend function LinkTableViewUsingSSMA to add ConnectionType as param…
Browse files Browse the repository at this point in the history
…eter
  • Loading branch information
RaoulJacobs committed Oct 19, 2022
1 parent 1f837b8 commit a2da72e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions M_omSSMAAConnector.def
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ Dim strDatabaseName As String
Debug.Print Now
End Function

Public Sub LinkTableViewUsingSSMA(existingTableName As String, toLinkName As String)
Public Sub LinkTableViewUsingSSMA(existingTableName As String, toLinkName As String, Optional ConnectionType As ConnectionTypes = ConnectionTypes.Default)
Dim cn As String
cn = GetConnectionStringByProperty(existingTableName)
cn = GetConnectionStringByProperty(existingTableName, ConnectionType:=ConnectionType)
AttachTable cn, toLinkName, toLinkName
End Sub

Expand Down

0 comments on commit a2da72e

Please sign in to comment.