locked
reverting back status type field value RRS feed

  • Question

  • Hi,

    I have a status type field called 'Activity Status'. I am working on validation of this field. After alerting the user with validation failure message, I want to be able to see the 'Activity Status' field to revert back to its old value. How can I do this?

    I've done for the lookup fields by creating a global variable and defining an array and object and setting back its value. But I've never done something like this with 'Status' type fields. An example or reference would be really helpful.

    Thanks

    Monday, October 13, 2014 12:53 PM

Answers

  • You can take a similar approach but set the value to an integer rather than an array of Lookup objects.

    See http://msdn.microsoft.com/en-gb/library/6881e99b-45e4-4552-8355-2eef296f2cd8#BKMK_setValue

    Hope this helps,

    Scott


    Scott Durow
    Blog www.develop1.net    Follow Me
    Rockstar365
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Monday, October 13, 2014 6:16 PM
    Answerer