Vincent, This does not actually work, because it returns the wrong string.

In order to build the Connection String you need the code from inside
Code:
Function EnumerateServersNetworkOrLocal Integer iNetworkLocal  Returns Integer
But not all of it, because I just need the string, not the count. MM

Code:
Function CurrentDriverString Integer iClientVersion  Returns Integer
        
            String  sDriver
        
            Case Begin
    
                Case (iClientVersion = SQLSERVER2016CLIENT)
                    Move SQLSERVER2016DRVRSTR to sDriver
                    Case Break
    
                Case (iClientVersion = SQLSERVER2014CLIENT)
                    Move SQLSERVER2014DRVRSTR to sDriver
                    Case Break
            
                Case (iClientVersion = SQLSERVER2012CLIENT)
                    Move SQLSERVER2012DRVRSTR to sDriver
                    Case Break
    
                Case (iClientVersion = SQLSERVER2008CLIENT)
                    Move SQLSERVER2008DRVRSTR to sDriver
                    Case Break
    
                Case (iClientVersion = SQLSERVER2005CLIENT)
                    Move SQLSERVER2005DRVRSTR to sDriver
                    Case Break
            
                Case (iClientVersion = SQLSERVER2000CLIENT)
                    Move SQLSERVER2000DRVRSTR to sDriver
                    Case Break
            
                Case Else
                    Move SQLSERVER2000DRVRSTR to sDriver
            
            Case End
       Function_Return sDriver
        
    End_Function