Re: Outlook Form + Public Folder(s)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.

.



Relevant Pages

  • Re: Vacation Request Form
    ... the public folder, I could update everybody's clients as they accessed the ... I do have your book Sue (Microsoft Outlook Programming), ... Responses to this meeting request will not ... person is involved, I'm attempting to use appointment, ...
    (microsoft.public.office.developer.outlook.forms)
  • Re: changing item_send code
    ... address because every job has it's own public folder. ... MsgBox "Iam sending" ... Dim myAttachment ... Author of Configuring Microsoft Outlook 2003 ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: Get Public Folder Name - Automate PickFolder function
    ... A reply will show the form designated for the Reply action on the page of a custom form. ... Author of Configuring Microsoft Outlook 2003 ... I have an outlook custom form I have published to a Public Folder. ... Dim objOutlookApp As Outlook.Application ...
    (microsoft.public.outlook.program_forms)
  • Re: Get Public Folder Name - Automate PickFolder function
    ... Author of Configuring Microsoft Outlook 2003 ... A reply will show the form designated for the Reply action on the page of a custom form. ... I have an outlook custom form I have published to a Public Folder. ... Dim objOutlookApp As Outlook.Application ...
    (microsoft.public.outlook.program_forms)
  • Re: Message Class form as default in Public Folder
    ... Author of Configuring Microsoft Outlook 2003 ... Administrators, Power Users, and Developers ... If I publish the form to the public folder will this give everyone have ... well as being e-mailed to the other public folder on the other network. ...
    (microsoft.public.outlook.program_forms)