Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDO - Getting messages from a range


Message #1 by Hal Levy <hal.levy@s...> on Fri, 20 Apr 2001 12:45:47 -0400
This message is in MIME format. Since your mail reader does not understand

this format, some or all of this message may not be legible.



------_=_NextPart_001_01C0C9B9.59A60880

Content-Type: text/plain;

	charset="iso-8859-1"



Guru's,



I would like to use CDO to grab calendar messages that are in a specified

scope (today to 

today +30) 



How do I apply the filter before grabbing the calendar?



Hal Levy

StarMedia Network, Inc.

Intranet Development Manager




Message #2 by "jamal mustafa" <jamal@w...> on Mon, 23 Apr 2001 10:16:33 +0500
CDO - Getting messages from a rangeu can specify the date filters in the 

query while getting the calendar messages.

But this solution is only applicable in Exch2000.





Jamal

  ----- Original Message -----

  From: Hal Levy

  To: ASP CDO

  Sent: Friday, April 20, 2001 9:45 PM

  Subject: [asp_cdo] CDO - Getting messages from a range





  Guru's,



  I would like to use CDO to grab calendar messages that are in a 

specified scope (today to

  today +30)



  How do I apply the filter before grabbing the calendar?



  Hal Levy

  StarMedia Network, Inc.

  Intranet Development Manager



Message #3 by Hal Levy <hal.levy@s...> on Mon, 23 Apr 2001 09:30:42 -0400
This message is in MIME format. Since your mail reader does not understand

this format, some or all of this message may not be legible.



------_=_NextPart_001_01C0CBF9.97E004B0

Content-Type: text/plain;

	charset="iso-8859-1"



Jamal,



Exch 2K is not an option, as of yet. I find that when I .ADD a filter on

CdoPR_Start_Date or CdoPR_End_Date the Messages collection is completely

filtered out. 



Is this a limitation of Exch 5.5?





Hal Levy

StarMedia Network, Inc.

Intranet Development Manager



-----Original Message-----

From: jamal mustafa [mailto:jamal@w...]

Sent: Monday, April 23, 2001 1:17 AM

To: ASP CDO

Subject: [asp_cdo] Re: CDO - Getting messages from a range





CDO - Getting messages from a rangeu can specify the date filters in the

query while getting the calendar messages.

But this solution is only applicable in Exch2000.





Jamal

  ----- Original Message ----- 

  From: Hal Levy 

  To: ASP CDO 

  Sent: Friday, April 20, 2001 9:45 PM

  Subject: [asp_cdo] CDO - Getting messages from a range





  Guru's, 



  I would like to use CDO to grab calendar messages that are in a specified

scope (today to 

  today +30) 



  How do I apply the filter before grabbing the calendar? 



  Hal Levy 

  StarMedia Network, Inc. 

  Intranet Development Manager 





---

SoftArtisans helps developers build robust, scalable Web applications!

Excel Web reports, charts: http://www.softartisans.com/excelwriter.html

File uploads: http://www.softartisans.com/saf.html

Transactional file management: http://www.softartisans.com/saf1.html

Scalability: http://www.softartisans.com/saxsession.html

ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html







Message #4 by Hal Levy <hal.levy@s...> on Mon, 23 Apr 2001 15:19:37 -0400
I want to post them to the list to help others and also populate the

information into the archives.

 

1. CdoPR_Start_Date is really what I think of as the End Date

2. CdoPR_End_Date is really what I think of as the Start Date

 

I found that when I reversed the logic I was using- by swapping the dates- I

got the expected result. I wonder if this is a bug in the constants or

"intended functionality".

 

In any case- if you have this problem, try to reverse the dates.

 

 



Hal Levy

StarMedia Network, Inc.

Intranet Development Manager 



-----Original Message-----

From: Hal Levy [mailto:hal.levy@s...]

Sent: Monday, April 23, 2001 9:31 AM

To: ASP CDO

Subject: [asp_cdo] Re: CDO - Getting messages from a range







Jamal, 



Exch 2K is not an option, as of yet. I find that when I .ADD a filter on

CdoPR_Start_Date or CdoPR_End_Date the Messages collection is completely

filtered out. 



Is this a limitation of Exch 5.5? 





Hal Levy 

StarMedia Network, Inc. 

Intranet Development Manager 




  Return to Index