Re: Custom Form + Outlook Folder

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



I wonder if you're a little confused about the difference between forms and items. A form is a UI/code template. An item is a data record. How an item displays in its own window depends on the form associated with that item.

So, with that background, what is it that you're trying to find out when you refer to "the folder from which the form is opened"? Two choices:

1) the folder that the user currently looking at when they create a new item using a custom form

2) the folder where the item being opened is stored

--
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:8417CA37-F30E-4BCA-B6D4-BB8ED5C23046@xxxxxxxxxxxxxxxx
I want to have a block of code inside an Outlook form that will check whether
the folder from which the form is opened is "Sent Items" and if it is run
some code, and if not, run some other code.
Could someone pls tell me how to do this?
Regards
BORIS
.



Relevant Pages

  • Re: Views filtered by User properties (UDFs)
    ... Author of Configuring Microsoft Outlook 2003 ... Then Created a new Form Region binded to the udf folder fields. ...
    (microsoft.public.outlook.program_forms)
  • Re: Custom Form Printing
    ... Moving the form, publishing the form, etc. will have no effect on the fields defined in the folder. ... Author of Configuring Microsoft Outlook 2003 ... Administrators, Power Users, and Developers ... need to move the custom from to another folder. ...
    (microsoft.public.outlook.program_forms)
  • Re: Form on Reply or Forward
    ... Author of Configuring Microsoft Outlook 2003 ... Administrators, Power Users, and Developers ... folder I've created under my inbox, but I'm not successful, would you please ... I then tried to set the following property on the Custom form folder ...
    (microsoft.public.outlook.program_forms)
  • Re: New Items in Folder event
    ... Author of Configuring Microsoft Outlook 2003 ... Administrators, Power Users, and Developers ... I would like to respond to new items in this folder by displaying a message ... of the task fields with information from the e-mail. ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: Shared Form
    ... It is published to a folder on my Mailbox called Outlook:\\PMS ... Author of Configuring Microsoft Outlook 2003 ... > The form resides on my Mailbox, ... >> Administrators, Power Users, and Developers ...
    (microsoft.public.outlook.program_forms)