I just noticed a third.
this code
strSql = "SELECT " & strTablePrefix & "CONFIG.C_STRVERSION, "
strSql = strSql & strTablePrefix & "CONFIG.C_STRSENDER "
strSql = strSql & " FROM " & strTablePrefix & "CONFIG "
set rsInfo = my_Conn.Execute (StrSql)
Needs replacing with
strSql = "SELECT " & strTablePrefix & "CONFIG_NEW.C_VALUE "
strSql = strSql & " FROM " & strTablePrefix & "CONFIG_NEW "
strSql = strSql & " WHERE " & strTablePrefix & "CONFIG_NEW.C_VARIABLE='strVersion'"
set rsInfo = my_Conn.Execute (StrSql)
strVersion = rsInfo("C_VALUE")
rsInfo.Close
strSql = "SELECT " & strTablePrefix & "CONFIG_NEW.C_VALUE "
strSql = strSql & " FROM " & strTablePrefix & "CONFIG_NEW "
strSql = strSql & " WHERE " & strTablePrefix & "CONFIG_NEW.C_VARIABLE='strSender'"
set rsInfo = my_Conn.Execute (StrSql)
strSender = rsInfo("C_VALUE")