Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: 19 Mar 2006 23:33:58 -0800,    group: microsoft.public.exchange2000.development        back       


All day event not returned by query   
Hello,

I'm using the following statement to query my calendar:

SELECT "urn:schemas:httpmail:subject", "urn:schemas:calendar:location",
"urn:schemas:calendar:dtstart", "urn:schemas:calendar:dtend",
"urn:schemas:calendar:alldayevent", "urn:schemas:calendar:instancetype"
FROM Scope('SHALLOW TRAVERSAL OF ""') WHERE
"urn:schemas:calendar:dtstart" >= '2006/03/27 00:00:00' AND
"urn:schemas:calendar:dtstart" < '2006/03/28 00:00:00' ORDER BY
"urn:schemas:calendar:dtstart" ASC

There are 2 appointments on 2006/03/27 but the query doesn't return one
of them which is an all day event. What am I missing?

TIA
date: 19 Mar 2006 23:33:58 -0800   author:   unknown

Re: All day event not returned by query   
Hello,

one common issue here is the used timezone. Exchange stores all time 
settings in GMT. If you are living in a timezone of -5 hours, outlook will 
adjust the calendar fields with this. This will result in the time field 
having a value of '2006/03/26 19:00:00'.

You must adjust your query accordingly.

Greetings,
Henning Krause [MVP]


 wrote in message 
news:1142840038.597665.103730@g10g2000cwb.googlegroups.com...
> Hello,
>
> I'm using the following statement to query my calendar:
>
> SELECT "urn:schemas:httpmail:subject", "urn:schemas:calendar:location",
> "urn:schemas:calendar:dtstart", "urn:schemas:calendar:dtend",
> "urn:schemas:calendar:alldayevent", "urn:schemas:calendar:instancetype"
> FROM Scope('SHALLOW TRAVERSAL OF ""') WHERE
> "urn:schemas:calendar:dtstart" >= '2006/03/27 00:00:00' AND
> "urn:schemas:calendar:dtstart" < '2006/03/28 00:00:00' ORDER BY
> "urn:schemas:calendar:dtstart" ASC
>
> There are 2 appointments on 2006/03/27 but the query doesn't return one
> of them which is an all day event. What am I missing?
>
> TIA
>
date: Mon, 20 Mar 2006 15:49:49 +0100   author:   Henning Krause [MVP]

Re: All day event not returned by query   
Yes, I live in a GMT+2 timezone. I've fixed the query and now it works
OK.

Thanks a lot.

Henning Krause [MVP] wrote:
> Hello,
>
> one common issue here is the used timezone. Exchange stores all time
> settings in GMT. If you are living in a timezone of -5 hours, outlook will
> adjust the calendar fields with this. This will result in the time field
> having a value of '2006/03/26 19:00:00'.
>
> You must adjust your query accordingly.
>
> Greetings,
> Henning Krause [MVP]
>
>
>  wrote in message
> news:1142840038.597665.103730@g10g2000cwb.googlegroups.com...
> > Hello,
> >
> > I'm using the following statement to query my calendar:
> >
> > SELECT "urn:schemas:httpmail:subject", "urn:schemas:calendar:location",
> > "urn:schemas:calendar:dtstart", "urn:schemas:calendar:dtend",
> > "urn:schemas:calendar:alldayevent", "urn:schemas:calendar:instancetype"
> > FROM Scope('SHALLOW TRAVERSAL OF ""') WHERE
> > "urn:schemas:calendar:dtstart" >= '2006/03/27 00:00:00' AND
> > "urn:schemas:calendar:dtstart" < '2006/03/28 00:00:00' ORDER BY
> > "urn:schemas:calendar:dtstart" ASC
> >
> > There are 2 appointments on 2006/03/27 but the query doesn't return one
> > of them which is an all day event. What am I missing?
> >
> > TIA
> >
date: 20 Mar 2006 23:12:32 -0800   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us