Substitute for New keyword
I am trying to write a SQL query to manipulate data in quality Center tables.
I am stuck in the very first line as this uses NEW keyword which cannot be used in vbscript.
Please suggest a alternative for New keyword in VBScript or else any alternative method.
Set m_SAClient = New SAapi
sServerName = "http://qualitycenter/qcbin"
sPassword = "MyPass"
sConnect = SAapi.Connect(sServerName, sPassword)
sDomainName = "PGRD"
sProjectName = "Lynx"
sSql = "SELECT * FROM REQ"
sReply = SAapi.RunQuery(sDomainName, sProjectName, sSql, 25, 0)
Re: Substitute for New keyword
Where did you get this code from?