Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2014
    Posts
    1

    Unanswered: Using .Oldvalue property

    Consider the use of .oldvalue in a textbox in an "Undo" button for instance:
    Textbox.Value = Textbox.OldValue

    But the problem I see is with using oldvalue in the case of a listbox that allows multiple values. Check it out:
    Listbox.value = listbox.oldvalue 'Will not work.

    I've mingled with variations for a while, but I'm beginning to wonder if .oldvalue is not compatible with multi-value fields. Hm.

    Matthewgrace

  2. #2
    Join Date
    Mar 2009
    Posts
    5,442
    Provided Answers: 14
    Quote Originally Posted by matthewgrace View Post
    ... but I'm beginning to wonder if .oldvalue is not compatible with multi-value fields.
    It's not indeed. You'll have to implement your own "undo" mechanism in such a case.
    Have a nice day!

Posting Permissions

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