![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I am facing a small problem here... I have my recurrence range group where I can select where or how my recurrence ends ("no end date", "end after x occurrences" or end by DATE). When Im populating my recurrence pattern object Outlook puts some default values either in the "occurrences" field and the "end by" field, even if "no end date" is selected. My question is: how can I know what radio button is selected or how can I overcome the default values inserted by Outlook? get_NoEndDate method only excludes the other two options if it is checked... if get_NoEndDate is false there is still two possible values the occurrences or the end date... i still don't know how to see if which one of them is selected... Help pls!? Example: I select "End after: 5 occurences", so I only want that value, not the default date on the "End by field". Hope you guys understand my problem and thanks in advance. Tiago |
Ads |
#3
|
|||
|
|||
![]()
Thanks for your reply!
REgarding this scenario where I have an appointment that recurs every week for 10 times stored in outlook. My recurrence pattern will allways have an end date even if the "End by: DATE" option is not selected. Is this right? I cannot know if I have to store to my object the get_Ocurrences or the get_PatternEndDate value, because get_PatternEndDate will always have a value (default). Its a little bit awkward. :S "Ken Slovak - [MVP - Outlook]" wrote: You cannot read values from that dialog at all. You can only guess what they were based on the final recurrence pattern that's saved in the item. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Tiago Pina" Tiago wrote in message ... Hi, I am facing a small problem here... I have my recurrence range group where I can select where or how my recurrence ends ("no end date", "end after x occurrences" or end by DATE). When Im populating my recurrence pattern object Outlook puts some default values either in the "occurrences" field and the "end by" field, even if "no end date" is selected. My question is: how can I know what radio button is selected or how can I overcome the default values inserted by Outlook? get_NoEndDate method only excludes the other two options if it is checked... if get_NoEndDate is false there is still two possible values the occurrences or the end date... i still don't know how to see if which one of them is selected... Help pls!? Example: I select "End after: 5 occurences", so I only want that value, not the default date on the "End by field". Hope you guys understand my problem and thanks in advance. Tiago |
#4
|
|||
|
|||
![]()
I haven't analyzed that dialog and how the pattern gets displayed in many
years, so my recollections may be hazy. The patterns that have a stop date won't show that in the dialog if you have how many instances of the recurrence set. There are also some specific cases where the pattern is set to say weekly or monthly and the dialog shows it as a different pattern type. You pretty much have to reverse engineer how the dialog shows a pattern by changing settings, saving and checking the recurrence pattern to see how things will display. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Tiago Pina" wrote in message ... Thanks for your reply! REgarding this scenario where I have an appointment that recurs every week for 10 times stored in outlook. My recurrence pattern will allways have an end date even if the "End by: DATE" option is not selected. Is this right? I cannot know if I have to store to my object the get_Ocurrences or the get_PatternEndDate value, because get_PatternEndDate will always have a value (default). Its a little bit awkward. :S |
#5
|
|||
|
|||
![]()
It depends on whether you set the EndTime property or Occurrences.
I don't think there is a way to distinguish between the two when *reading* the recurrence pattern using the Outlook object Model alone. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Tiago Pina" Tiago wrote in message ... Hi, I am facing a small problem here... I have my recurrence range group where I can select where or how my recurrence ends ("no end date", "end after x occurrences" or end by DATE). When Im populating my recurrence pattern object Outlook puts some default values either in the "occurrences" field and the "end by" field, even if "no end date" is selected. My question is: how can I know what radio button is selected or how can I overcome the default values inserted by Outlook? get_NoEndDate method only excludes the other two options if it is checked... if get_NoEndDate is false there is still two possible values the occurrences or the end date... i still don't know how to see if which one of them is selected... Help pls!? Example: I select "End after: 5 occurences", so I only want that value, not the default date on the "End by field". Hope you guys understand my problem and thanks in advance. Tiago |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where in the model is a selected group? | kfawell | Outlook and VBA | 3 | July 11th 08 01:57 AM |
Private Outlook Contacts - Selected Group | Jonathan Wong | Outlook - Using Contacts | 1 | April 29th 07 11:00 AM |
Limit Range of Recurrence | J. Shaeffer | Outlook - Calandaring | 0 | November 28th 06 09:04 PM |
Base OL recurrence range on a formula | Pharphel | Outlook - Calandaring | 4 | April 25th 06 01:30 PM |
Outlook should have a recurrence option of fifth weekday(and more | johnnythehat | Outlook - Calandaring | 2 | March 12th 06 10:47 PM |