Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Chicago, Illinois, USA
    Posts
    185
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Prevent one-off when modifying control property (Outlook 2K/sr1...vbscript)

    Hi all. I have run into this problem before and am trying to remember how I resolved it.

    I have a custom form in a public folder. In "read" mode, controls on the main page of the form are read-only. I've added a command button to allow the Adminstrator of the folder to edit those values; the button changes the .readonly property to false, allows the admin to make the change, and then restores the True value to the .readonly property of the control.

    Unfortunately, this is creating a one-offed form. I seem to recall a way to avoid that (changing a different property of the control, perhaps?) but I can't remember how to do it. (I'd search, but the WOPR search is still disabled!) Any thoughts would be appreciated. Thanks.

    Jennifer

  2. #2
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Chicago, Illinois, USA
    Posts
    185
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Prevent one-off when modifying control property (Outlook 2K/sr1...vbs

    AHA. Figured it out. Changing the .readonly property of a control causes a one-off. To avoid this, use the .enabled property instead.

    [EDIT TO ADD]: For more details, see MSKB article 238765.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •