locked
Bug: Outlook 2010 Forms - Script - Item.AllDayEvent = 1 - replaced after sec with current time + 30 min duration RRS feed

  • Question

  • Hello,

    I created the following Form to create an Vacation Request:

    Function Item_Open()
     Item.ResponseRequested = 0 
     Item.BusyStatus = Free
     Item.Subject = "Vacation"
     Item.AllDayEvent = 1
     Item.ReminderSet = 0
     Item.Recipients.Add ("DL MyOrgUnit") 
    End Function  

    If I click on "Run This Form" then it works correctly: Checkmark in "All day event" and duration from 0 am to 0 pm.

    But if I execute it in "New Items > Custom Forms > VacationMyOrgUnit" then the checkmark is set for a second and then it is removed and replaced by 30 min e.g. 9:30 - 10:00.

    Also I tried to add this:

     Item.Start = #0:00:00#
     Item.End = #0:00:00#

    Thank you.



    Monday, June 29, 2015 7:37 AM