Newbie Question

E

Elliot

I am using two Public Folders. One is called MIS Dept and the other is
MIS Forms. The MIS Forms folder is within the MIS Dept folder and
contains a Job Request folder. I would like the user to select the
Job Request Folder, click the New button, fill out the form and click
Post so that the Job Request Form is sent to the MIS Dept Folder.

I've associated the Job Request Form to the Job Request Folder and the
user fills out the form but when he clicks Post the form is posted to
the Job Request Folder and not to the MIS Dept folder.

I tried adding a "TO:" field on the form to go to the email address
associated with the targeted folder but that did not work.

Any suggestions?

Thanks,

Elliot
 
S

Sue Mosher [MVP]

One solution would be to build your form as a message form, not a post form,
and include the To address for the MIS Dept folder. Publish it to the
Organizational Forms libary. Then use the Form Launcher form from
http://www.slipstick.com/dev/olforms/formlauncher.htm as the default in the
Job Request folder to launch your Job Request Form.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
A

Anita Gupta

Have you tried putting this in the code behind your form:

Sub Item_Close()

Dim NS

Dim MISFolder

Set NS = Application.GetNameSpace("MAPI")

Set MISFolder = NS.Folders("Public Folders").Folders("All Public
Folders").Folders("MIS Dept")

If Item.Parent = "MIS Forms" Then

Item.Move MISFolder

End If

End Sub

Anita
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top