Two Questions: setting custom forms to post to a particular public folder & frame visability based o

T

Thom

I may be going about this news group posting incorrectly as I've posted
these questions on several Outlook specific boards but have not received an
appropriate reply. If I should be doing something, please let me know.



I have a two-part question. I have developed a simple custom form (9

fields) to collect information from a group of employees. I work in a

large organization that uses Outlook/exchange for mail services.



I developed the form in a .pst file I have set-up on my laptop for

development purposes. Eventually I want to distribute the form to the

employee group and want the responses posted to a public folder that

I have access to. I have used the code with the necessary corrections

from the excellent developer resource Microsoft Outlook Programming

by Sue Mosher, but the code has no effect. When I initiate (??? open)

the form, I get a dialog box directing me to choose a folder for the

custom form.



I'm assuming that I've referenced the incorrect event handler in the

VB script editor, but from what I can tell, the script is not

accessed at all. I've tried several of the event hander choices that

would seem to make sense for the save action. What event handler

would I use to correctly call this code? (Please excuse any incorrect

references to programming; I know just enough to be dangerous...)



Secondly, based on the answer to the first Yes/No question, the

remaining questions change. I have separated the questions specific

to each answer (Yes or No) and placed them in separate frames. I want

either one or the other frame to be visible based on the answer to

the first question. I've looked around but have not found the

appropriate method for referencing the value of the first variable to

change the visibility value of the specific frame. Also, can I place

the frames directly on top of each other and toggle btw each frame

dependent on the answer to the first question. What I'm trying to

avoid is a blank area on the form if I place one frame below the

other.



Any assistance would be greatly appreciated.



Thom
 
S

Sue Mosher [MVP-Outlook]

1) When I initiate (??? open)
the form, I get a dialog box directing me to choose a folder for the
custom form.

This is normal behavior for a post form that hasn't been published to a
folder. For your application, a message form with the public folder's email
address set as the To address might be a better solution.

2) See http://www.outlookcode.com/d/propsyntax.htm for information on
working with events arising from user interaction with your form. The key
issue is whether the controls are bound to Outlook properties.

Note that no code runs on unpublished forms in most Outlook environments.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top