A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Help forwarding form programmatically



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 18th 06, 06:06 PM posted to microsoft.public.outlook.program_forms
Trent
external usenet poster
 
Posts: 6
Default Help forwarding form programmatically

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.


Ads
  #2  
Old October 18th 06, 06:13 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Help forwarding form programmatically

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  
Old October 18th 06, 06:34 PM posted to microsoft.public.outlook.program_forms
Trent
external usenet poster
 
Posts: 6
Default Help forwarding form programmatically

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  
Old October 18th 06, 06:36 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Help forwarding form programmatically

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 07:58 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.