View Single Post
  #4  
Old March 10th 07, 01:36 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Forms - Edit Compose Page vrs Edit Read Page

Try calling Item.Recipients.ResolveAll before you call Item.Send.
--
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

"Janelle" wrote in message ...
I've unchecked the "send form definition with item" box and now if I send the
survey to myself it returns with an error "the custom form could not be
opened. Outlook will use an Outlook form instead. The object could not be
found."

I've tried setting a custom action as a forward action but when i try and
send the survey back after receiving it - it always says there must be a
recipient entered in the to, cc, bcc field - even if the to field in the is
present to my email address. Am I doing something wrong there? Because I
noticed when testing it that a colleague was able to forward the form back to
me with the results still entered. But I can't seem to appropriatly set the
field values so that it automatically forwards to me.

I've created an internal survey form (radio buttons and comments text field)
and I would like to have a command button that sends the form back to the
sender (me). In the design the form area I've put the same content in both
the edit compose page and edit read page and basic code
Sub CommandButton1_Click()
item.to = "
item.send
End sub
and it works in the compose page but not in the edit read page which is what
people will see first and I would like them to respond from. SO the person
should click on the new email and beable to click on a submit button that
returns the form to me.
Any help would be great
thanks
-J


Ads