|
|
|||
| Outlook Form Design Printer Friendly Version | |||
|
|
Designing custom Outlook forms and form regions and writing code for them | ||
| Topic | |||
|
|
Approval Form - Restricting Action by User
We need to create a form to facilitate the request processing. The key is that we need to accomplish two goals: A) The requested action will be retricted to a set of items in a drop down list. The set will never be static. On the other hand it will not "change on the fly." So on Monday, the list may be "A", "B" and "C". On Tuesday the list may be "A", "B". B) We need multiple check boxes on the form. Only certain users should be able to check or un-check the check box. At a high level the flow will be: Get User ID If User ID is in the authorized list then Check box state can be changed Else Check box state cannot be changed. Are these two tasks possible? Anonymous 30-Jul-2010 10:01 |
||
|
|
Sue Mosher
30-Jul-2010 12:35
A) As long as you have some logic that defines which list of items is supposed to be displayed when the user opens the form, this is possible. See http://www.outlookcode.com/article.aspx?ID=32 for information on loading rowas into list and combo boxes. B) Put code in the Item_Open event handler to enable/disable controls as desired. See http://www.outlookcode.com/article.aspx?ID=38 for information on control syntax. |
||
|
|
|||
