Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Nov 2001
    Location
    Sydney, New South Wales, Australia
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Detecting Partial Changes (2003SP2)

    Is it possible to detect changes to some form fields only? I mean, I could use the "On Dirty" event if I wanted to capture any change to any or all fields but what if one field e.g. a name field, needs to be excluded? I mean, it doesn't matter what changes happen to the name field, but any other changes to any other fields need to be detected. Can this be done?

    Thanks

  2. #2
    Platinum Lounger
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    4,594
    Thanks
    0
    Thanked 27 Times in 27 Posts

    Re: Detecting Partial Changes (2003SP2)

    You could loop thru all controls on the form and test if the ControlName.OldValue is not equal to the value of the control name.

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Detecting Partial Changes (2003SP2)

    On a form you can use the After Update event of specific controls.

Posting Permissions

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