P
Paul Mayer
I have the following SQL statement:
TRANSFORM IIf(IsNull([StatusCd]),0,Count([leadno])) AS Expr1
SELECT Leads.ABSCd, Count(Leads.LeadNo) AS total
FROM Leads
WHERE
Leads.CmpltdDt>=XDocument.DOM.selectSingleNode("my:MyFields/my:StartMe") And
Leads.CmpltdDt<=XDocument.DOM.selectSingleNode("my:MyFields/my:StopMe")
GROUP BY Leads.ABSCd
ORDER BY Leads.ABSCd
PIVOT Leads.StatusCd;
When I paste this SQL into the data connection, I get an error undefined
function
'XDocument.DOM.selectSingleName' in expression
is it possible to use XDocument.DOM.selectSingleNode in a SQL statement if
so how.
TRANSFORM IIf(IsNull([StatusCd]),0,Count([leadno])) AS Expr1
SELECT Leads.ABSCd, Count(Leads.LeadNo) AS total
FROM Leads
WHERE
Leads.CmpltdDt>=XDocument.DOM.selectSingleNode("my:MyFields/my:StartMe") And
Leads.CmpltdDt<=XDocument.DOM.selectSingleNode("my:MyFields/my:StopMe")
GROUP BY Leads.ABSCd
ORDER BY Leads.ABSCd
PIVOT Leads.StatusCd;
When I paste this SQL into the data connection, I get an error undefined
function
'XDocument.DOM.selectSingleName' in expression
is it possible to use XDocument.DOM.selectSingleNode in a SQL statement if
so how.