Disabling Fields

G

Gary Newport

Thanks Sue for all help so far! Form is progressing well and, more
importantly, so is my understanding of Outlook Forms (I hope).

My last issue is that when the received form is completed and returned to
the original sender, all form fields that were enabled for the receiver to
complete are still enabled.

I did set up a command that I thought would set the Enabled property to 0
(and I used the message box to show it's initial state with success).

My question is; if I change the property of an organisation-wide form and
then send it, are local property changes saved with the form or does the form
revert back to the defined terms in the form design?

Basically, I cannot seem to disable the fields on return and am wondering if
I have to build a hidden form as the forward reply?
 
S

Sue Mosher [MVP-Outlook]

You're not describing property changes. You're describing changes to
controls. Those are not persisted when the item is saved or sent. Outlook
only saves property values, not UI control property values. You would need to
run similar code when the item opens for the recipient.
 
G

Gary Newport

Yes, thanks for this. I had already worked on this concept and have created a
checkbox that is checked just before being returned. The code then checks to
see if this checkbox is checked or not and responds accordingly.

Thanks for all your help! :blush:)
 

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