Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / December 2003

Tip: Looking for answers? Try searching our database.

Newbie Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Elliot - 26 Dec 2003 23:04 GMT
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
Sue Mosher [MVP] - 26 Dec 2003 23:29 GMT
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.
Signature

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
    http://www.outlookcode.com/jumpstart.aspx

> 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
[quoted text clipped - 14 lines]
>
> Elliot
Anita Gupta - 30 Dec 2003 15:56 GMT
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

> 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
[quoted text clipped - 27 lines]
> >
> > Elliot
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.