Setting fields to read-only/disabled when a given form is forwarde

G

Gren

I'm a little stuck with this. I have around 10 fields I want to lock after
data is entered into them and the form is sent/forwarded..

I have a construct I found (Thanks to Sue Mosher) to get me started, but
I've hit a snag and don't know what to enter-

Dim objInsp

Function Item_Forward(ByVal ForwardItem)

Set objInsp = Item.GetInspector
Set Name =

End Function



thanks for your help
 
S

Sue Mosher [MVP-Outlook]

I don't understand what Name is supposed to be. Who are you trying to lock
the fields for -- send person doing the forwarding or the person receiving
the forwarded item? Where is the form published?
 
G

Gren

I don't know what Name is supposed to be either, to be honest.. is it the
field name?

I want to lock the fields down after the composer sends the email.

The form would be published publicly on an exchange server..
 
S

Sue Mosher [MVP-Outlook]

You can't do anything to a message after it's sent, at least nothing that
would affect the recipient. Any lockdown would have to take place when the
recipient opens the message. If you can publish to the Organizational Forms
library, then you can put code in the Item_Open event handler to set
controls to read-only. Or you could use a read layout that has those
controls as read only.

Neither would, however, prevent the sophisticated user from making changes
using in-cell editing in a view.
--
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