MS Outlook Form Help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

At work today, I learned how to create forms in Outlook. I was creating
forms for a to be included in a couple of email templates that were to be
sent to groups internally and to customers externally.

However, I ran into a minor problem. One of the templates was being sent
to a customer's text pager. The form, as I originally designed it, had many
custom fields and the text in the forms would not be sent properly to the
text pager. I eventually figured out that Outlook will send the "subject"
field and the "message" field properly but none of the custom ones I created.

The form and custom fields I created are needed so people can select some
information from drop down menus. instead of doing manual entry.

So I am wondering if there is anyway to make this work. I suspect
programming may be involved and that might be a little too much for me.
However, I would appreciate what anyone has to say.

Thanks!!
 
Custom forms only work when you send them to other Outlook recipients. A
text pager cannot receive a custom form.

If you want the information entered in the form to appear in the message
body, that's another story, and a project that does require writing VBScript
code to run behind the form. The details will depend on your version of
Outlook, which you didn't mention.

FYI, there is a newsgroup specifically for Outlook forms issues "down the
hall" at microsoft.public.outlook.program_forms or, via web interface, at
http://www.microsoft.com/office/com...spx?dg=microsoft.public.outlook.program_forms
 
Sue,

I appreciate the response. I did stumble upon the "forms" group after I
posted this. :) However, since I posted the original message here, I am
using MS Outlook 2002 SP3 at work (on a Windows 2000 Professional machine).

While I don't know a thing about VBScripts, I would like to know what
details you may know and can share. Thanks for your time!
 
What I know about Outlook VBScript could fill several books, but I have only
written a couple.

At its simplest, you could do something like this to create a new message
and put information from your item's custom fields into the new message,
then display it for the user to fill in the recipients and send:

Function Item_Send()
Const olFormatPlain = 1
Const olDiscard = 1
Set objMail = Application.CreateItem(0)
objMail.BodyFormat = olFormatPlain
strBody = "Text from Field 1: " & Item.UserProperties("Field1") & vbCrLf
& _
"Text from Field 2: " & Item.UserProperties("Field2")
objMail.Body = strBody
objMail.Subject = Item.Subject
objMail.Display
Item.GetInspector.Close olDiscard
End Function


--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top