Re: Field to hold names selected from AD



1) See http://www.outlookcode.com/d/code/selectnames.htm for an example of how to call the Select Names dialog to return a name. The page at http://www.outlookcode.com/d/propsyntax.htm shows how to set custom field values.

2) Depending on whether the row data is specific to the item (data record), the user, or the organization as a whole, you may want to store it in the item, a hidden message in the user's folders, a file on the user's machine, a hidden message in a public folder, a database, etc. You would then use the Item_Open event handler to run the code that reads the row data and populates the rows.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Alexander V. Alexeev" <talk2alex@xxxxxxxxxxx> wrote in message news:OZT$dMCcFHA.2768@xxxxxxxxxxxxxxxxxxxxxxx
> Hi there,
>
> I am developing a custom form of Task type for somethng that resembles a
> workflow application. Well at the moment it;s just a Public Folder with the
> form containing fields I have setup. There are two things I am battling with
> at this stage:
>
> 1. How to go about adding custom fields that are populated by usernames from
> AD, just like the To field, and the like, which is very convenient for
> users to be able to pick from predefined list.
>
> 2. Is there a way to store selections and later have a field to be able to
> pick from them. Combo box with defined values is the only options? WHat if I
> wanted to store two dimensional values, like:
> 1, Value1
> 2, Value 2
>
> i.e. store only their first column which is integer but in the form we'd see
> the text value corresponding to it.
>
> Anyone could point to where I should start looking?
> Thanks!
>
> Alex A
>
>
.



Relevant Pages

  • Re: Custom Fields to behave like Recipient Fields
    ... >> Sue Mosher, Outlook MVP ... >> Administrators, Power Users, and Developers ...
    (microsoft.public.outlook.program_forms)
  • Re: Send on Behalf not working? HELP!
    ... Dumb question, but you did add Send As permission on the correct mailbox, ... Administrators, Power Users, and Developers ...
    (microsoft.public.outlook.general)
  • Re: Attachments in Custom Forms
    ... Run the form, delete that text, then republish the form. ... store that text in the item, do it in some field other than the Body ... Administrators, Power Users, and Developers ...
    (microsoft.public.outlook.program_forms)
  • Re: forwarding contacts
    ... Administrators, Power Users, and Developers ...
    (microsoft.public.exchange.clients)
  • Re: While You Were Out Telephone form
    ... Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers ...
    (microsoft.public.outlook.program_forms)

Loading