Re: Outlook Form + Public Folder(s)
- From: "Sue Mosher [MVP-Outlook]" <suemvp@xxxxxxxxxxxxxxx>
- Date: Sun, 4 Jun 2006 17:48:26 -0400
You have two choices. You can return the folder with the Namespace.GetFolderFormID method if you know the EntryID and StoreID. Or, you can to walk the folder hierarchy using the Folders collections or use a function that does that for you. See http://www.outlookcode.com/d/code/getfolder.htm and, especially for public folders, http://www.outlookcode.com/codedetail.aspx?id=1164
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"BOR155" <BOR155@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:225762DF-8D06-4B5F-9D41-F44B5FADA116@xxxxxxxxxxxxxxxx
Sue.
Thank you for your reply, but I am still not sure how to refer to a
particular Public Folder, is it by it's name, or some sort if ID. Also, how
to refer to the current item (the one that needs to be moved)???
Could you please write few lines of sample code?
Many thanks in advance
Boris
"Sue Mosher [MVP-Outlook]" wrote:
Yes, it's possible. I'd put the code to call the Move method in the Item_Write event handler, since people could change their mind about the status before saving it. See http://www.outlookcode.com/d/propsyntax.htm if you need help with the syntax for retrieving the property value.
"BOR155" <BOR155@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:2E5F34D4-0348-4F1D-880C-3490C333D7E2@xxxxxxxxxxxxxxxx
I need to develop a form in Outlook for tracking Commission Payment related
issues for our Sales staff. All forms submitted will end up in a Public
Folder called "New Issues".
One of the fields on this form will be Issue Status like "Open", "In
Progress" and "Closed". I am planning to have a combo box on the form where
an analyst dealing with those issues will set the Issue status by selecting
one of three items listed in the combo. So what I need to have is some VB
Script code behind the form which will fire when the Status is changed and
move the item from the Public Folder "New Issues" to, say the folder "In
Progress" (this is if the Status is changed to "In Progress")....
Is this possible?? Any help would be greatly appreciated.
- Follow-Ups:
- Re: Outlook Form + Public Folder(s)
- From: BOR155
- Re: Outlook Form + Public Folder(s)
- References:
- Re: Outlook Form + Public Folder(s)
- From: Sue Mosher [MVP-Outlook]
- Re: Outlook Form + Public Folder(s)
- Prev by Date: Re: How to create custom E-Mail Forms in Outlook 2003
- Next by Date: Re: How to create custom E-Mail Forms in Outlook 2003
- Previous by thread: Re: Outlook Form + Public Folder(s)
- Next by thread: Re: Outlook Form + Public Folder(s)
- Index(es):
Relevant Pages
|