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

    Home » Forums » AskWoody support » Productivity software by function » MS Outlook and email programs » Prevent one-off when modifying control property (Outlook 2K/sr1…vbscript)

    • This topic has 1 reply, 1 voice, and was last updated 22 years ago.
    Author
    Topic
    #388358

    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

    Viewing 0 reply threads
    Author
    Replies
    • #681537

      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.

    Viewing 0 reply threads
    Reply To: Prevent one-off when modifying control property (Outlook 2K/sr1…vbscript)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: