ron
Guest
|
Posted:
Fri Nov 19, 2004 1:08 am Post subject:
weird query problem, making me crazy |
|
|
I have the following query that causes a com exception (VS6 6.0) MSXML
control when executed yet when I cut and paste the same query in a query
processor (kStore we got off the net) it works.
Any ideas or suggestions?
SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname", "http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/commonend", "DAV:getlastmodified" FROM
SCOPE('deep traversal of "http://XCH/exchange/rharter/Tasks/"') WHERE
"DAV:getlastmodified" > CAST("2004-10-18T15:59:36.475Z" as 'dateTime') AND
"DAV:contentclass"= CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified" ASC
|
|
Tom Rizzo [MSFT]
Guest
|
Posted:
Mon Nov 22, 2004 6:14 am Post subject:
Re: weird query problem, making me crazy |
|
|
Is it the query that causes the exception or the returned XML? What does
your code look like?
Tom
--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp
"ron" <ron@discussions.microsoft.com> wrote in message
news:5EC88F09-71F6-4888-B1B6-955881628D01@microsoft.com...
| Quote: | I have the following query that causes a com exception (VS6 6.0) MSXML
control when executed yet when I cut and paste the same query in a query
processor (kStore we got off the net) it works.
Any ideas or suggestions?
SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname", "http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/commonend", "DAV:getlastmodified"
FROM
SCOPE('deep traversal of "http://XCH/exchange/rharter/Tasks/"') WHERE
"DAV:getlastmodified" > CAST("2004-10-18T15:59:36.475Z" as 'dateTime') AND
"DAV:contentclass"= CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified" ASC |
|
|