![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi All,
We have a custom form published in the Organizational Forms folder on our Exchange 2003 server and set to not send the form definition. The form gets submitted to an approver and has approve and disapprove buttons. What we would like to do is when the approve or disapprove button is pressed, to send the form on to another person. The problem is that the form errors stating that the person approving does not have rights to send on behalf of... Is there a good way around this? I know we cannot programmatically alter the FROM address to get around it. Is it possible to programmatically forward the message instead? I have tried replacing Form.Send with Form.Forward but nothing appears to happen. The message never arrives at it's destination, does not give an error and no message is shown in Sent Items. Is there a simple way to replicate the entire message content into a new message that can be sent rather than building it all manually again? Or call up a new copy of the original form passing all the values to it? What is the best approach? It seems that this must be a relatively common situation. Thanks. |
#2
|
|||
|
|||
![]()
Sounds like you're not using the Forward method correctly:
Set fwd = Item.Forward fwd.To = " fwd.Send Make sure you have the Forward action on the custom form's (Actions) page set to use the published form. -- 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 "Trent" wrote in message ... Hi All, We have a custom form published in the Organizational Forms folder on our Exchange 2003 server and set to not send the form definition. The form gets submitted to an approver and has approve and disapprove buttons. What we would like to do is when the approve or disapprove button is pressed, to send the form on to another person. The problem is that the form errors stating that the person approving does not have rights to send on behalf of... Is there a good way around this? I know we cannot programmatically alter the FROM address to get around it. Is it possible to programmatically forward the message instead? I have tried replacing Form.Send with Form.Forward but nothing appears to happen. The message never arrives at it's destination, does not give an error and no message is shown in Sent Items. Is there a simple way to replicate the entire message content into a new message that can be sent rather than building it all manually again? Or call up a new copy of the original form passing all the values to it? What is the best approach? It seems that this must be a relatively common situation. Thanks. |
#3
|
|||
|
|||
![]()
I think that is the problem. I had no info on the usage of Item.Forward and
was just jumping in to help a co-worker who was trying to make this work and have not been trying it myself, just making suggestions. Thanks Sue. "Sue Mosher [MVP-Outlook]" wrote in message ... Sounds like you're not using the Forward method correctly: Set fwd = Item.Forward fwd.To = " fwd.Send Make sure you have the Forward action on the custom form's (Actions) page set to use the published form. -- 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 "Trent" wrote in message ... Hi All, We have a custom form published in the Organizational Forms folder on our Exchange 2003 server and set to not send the form definition. The form gets submitted to an approver and has approve and disapprove buttons. What we would like to do is when the approve or disapprove button is pressed, to send the form on to another person. The problem is that the form errors stating that the person approving does not have rights to send on behalf of... Is there a good way around this? I know we cannot programmatically alter the FROM address to get around it. Is it possible to programmatically forward the message instead? I have tried replacing Form.Send with Form.Forward but nothing appears to happen. The message never arrives at it's destination, does not give an error and no message is shown in Sent Items. Is there a simple way to replicate the entire message content into a new message that can be sent rather than building it all manually again? Or call up a new copy of the original form passing all the values to it? What is the best approach? It seems that this must be a relatively common situation. Thanks. |
#4
|
|||
|
|||
![]()
The object browser is your friend. Press F2 in Outlook VBA and look things up there.
-- 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 "Trent" wrote in message ... I think that is the problem. I had no info on the usage of Item.Forward and was just jumping in to help a co-worker who was trying to make this work and have not been trying it myself, just making suggestions. Thanks Sue. "Sue Mosher [MVP-Outlook]" wrote in message ... Sounds like you're not using the Forward method correctly: Set fwd = Item.Forward fwd.To = " fwd.Send Make sure you have the Forward action on the custom form's (Actions) page set to use the published form. "Trent" wrote in message ... Hi All, We have a custom form published in the Organizational Forms folder on our Exchange 2003 server and set to not send the form definition. The form gets submitted to an approver and has approve and disapprove buttons. What we would like to do is when the approve or disapprove button is pressed, to send the form on to another person. The problem is that the form errors stating that the person approving does not have rights to send on behalf of... Is there a good way around this? I know we cannot programmatically alter the FROM address to get around it. Is it possible to programmatically forward the message instead? I have tried replacing Form.Send with Form.Forward but nothing appears to happen. The message never arrives at it's destination, does not give an error and no message is shown in Sent Items. Is there a simple way to replicate the entire message content into a new message that can be sent rather than building it all manually again? Or call up a new copy of the original form passing all the values to it? What is the best approach? It seems that this must be a relatively common situation. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forwarding a copy of a form from a Public Folder to a user's inbox | Bubba Smith | Outlook - Using Forms | 5 | October 10th 06 03:57 PM |
Forwarding Contacts made from custom form internally | rikper | Outlook - Using Forms | 5 | August 11th 06 09:29 PM |
Update Calendar Programmatically | Sue Mosher [MVP-Outlook] | Outlook and VBA | 0 | February 1st 06 04:14 PM |
Forwarding a form from one user to another | [email protected] | Outlook - Using Forms | 11 | January 30th 06 03:21 PM |
Cannot programmatically open custom message in custom form | ms | Outlook - Using Forms | 1 | January 20th 06 03:01 PM |