diff --git a/M_omConnectionString.def b/M_omConnectionString.def index f51b9ae..3da66c3 100644 --- a/M_omConnectionString.def +++ b/M_omConnectionString.def @@ -31,8 +31,9 @@ Public Enum ConnectionTypes Default = 0 SQLOLEDBProvider = 1 LocalDSN = 2 - SQLOBDC = 3 + SQLODBC_Deprecated = 3 MySQL = 4 + SQLODBC = 5 End Enum @@ -195,7 +196,7 @@ Public Function GetCurrentConnectionStringForType(ODBCConnection As Boolean, Opt CurrentConnectionString = "Driver={MySQL ODBC 3.51 Driver};SERVER=[SQLServer];DATABASE=[SQLDatabase];" ElseIf ConnectionType = ConnectionTypes.LocalDSN Then CurrentConnectionString = "DSN=[DSN];" - ElseIf GetSQLODBCVersion <> 0 And ConnectionType = SQLOBDC Then + ElseIf GetSQLODBCVersion <> 0 And ConnectionType = SQLODBC Then If Not ODBCConnection Then CurrentConnectionString = "DRIVER=ODBC Driver " & cSQLODBCVersion & " for SQL Server;SERVER=[SQLServer];DATABASE=[SQLDatabase];" Else diff --git a/M_omStartup.def b/M_omStartup.def index e423370..1af098a 100644 --- a/M_omStartup.def +++ b/M_omStartup.def @@ -32,7 +32,7 @@ Public Function LinkSSMADatabase() As Variant omSSMAAConnector.LinkUsingSSMA SavePassword:=True, alwaysUpdate:=True End Function Public Function LinkSSMADatabaseSQLODBC() As Variant - omSSMAAConnector.LinkUsingSSMA ConnectionType:=SQLOBDC, SavePassword:=True, alwaysUpdate:=True + omSSMAAConnector.LinkUsingSSMA ConnectionType:=SQLODBC_Deprecated, SavePassword:=True, alwaysUpdate:=True End Function 'Public Function SyncUserMain() As Boolean diff --git a/T_SSMAA_ConnectionTypes.dat b/T_SSMAA_ConnectionTypes.dat index 86d26fa..7e0fb76 100644 --- a/T_SSMAA_ConnectionTypes.dat +++ b/T_SSMAA_ConnectionTypes.dat @@ -15,11 +15,15 @@ - SQLOBDC + SQLOBDC_Deprecated MySQL + + + SQLODBC +