Y
Yoav
Hi,
How can i define two queries in the MSP visual basic editor that connect to
the MSP SQL DB (let's assume that an ODBC connection is defined) that one
query is based on the other?
The format i'm using now:
Set objConn = CreateObject("ADODB.connection")
objConn.ConnectionString = "DSN=" & DSN & ";UID=" & STR_USER_IDENT &
";PWD=" & STR_PASSWORD_IDENT & ";"
objConn.Open
Set rs = CreateObject("ADODB.Recordset")
'Get all project name for Publishing
sql = [Here should be the SQL line]
rs.Open sql, objConn, 1, 2
How can i define two queries in the MSP visual basic editor that connect to
the MSP SQL DB (let's assume that an ODBC connection is defined) that one
query is based on the other?
The format i'm using now:
Set objConn = CreateObject("ADODB.connection")
objConn.ConnectionString = "DSN=" & DSN & ";UID=" & STR_USER_IDENT &
";PWD=" & STR_PASSWORD_IDENT & ";"
objConn.Open
Set rs = CreateObject("ADODB.Recordset")
'Get all project name for Publishing
sql = [Here should be the SQL line]
rs.Open sql, objConn, 1, 2