I am trying to edit this XML containing a SQL statement. I get an error: "Required whitespace is missing"
Apparently it is seeing the quote before the SELECT as ending at the 'A549 and then doesn't understand the rest of the statement. I would normally nest two single quotes but doesn't seem to work in this case.
<z:row AorB='B' OrderIndex='6' SQLStatement='SELECT [Bill to acct #] AS GroupField, Count(*) AS CountTran, Sum([Net TN]) AS SumTons
FROM [Transactions]
WHERE [Transaction Type]!=16 AND [Date Out]>GetDate()-1 AND [Bill to acct #]='A549'
GROUP BY [Bill to acct #]
ORDER BY [Bill to acct #];'
Description='Ace' Values='A549' />
Can anyone offer suggestions on how to resolve it ?
thanks