A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Disabling Fields



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 14th 08, 10:58 AM posted to microsoft.public.outlook.program_forms
Gary Newport
external usenet poster
 
Posts: 19
Default Disabling Fields

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?
Ads
  #2  
Old October 14th 08, 01:33 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Disabling Fields

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.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"Gary Newport" wrote:

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?

  #3  
Old October 14th 08, 06:09 PM posted to microsoft.public.outlook.program_forms
Gary Newport
external usenet poster
 
Posts: 19
Default Disabling Fields

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! )

"Sue Mosher [MVP-Outlook]" wrote:

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.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"Gary Newport" wrote:

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?

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to move fields in custom form to "user-defined fields in folde austex Outlook - Using Contacts 0 January 9th 08 11:51 PM
Disabling Resources Bartly Outlook - Installation 0 September 13th 07 08:42 PM
Outlook Contacts - Converting User-defined Item fields to Folder fields [email protected] Outlook - Using Contacts 1 September 29th 06 09:17 PM
formating multiple fields creates duplicate fields [email protected] Outlook - Using Forms 0 April 18th 06 03:59 PM


All times are GMT +1. The time now is 12:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.