Results 1 to 4 of 4

Thread: dirty test

  1. #1
    Join Date
    Apr 2004
    Location
    ny, ny
    Posts
    224

    Unanswered: dirty test

    I have a form in which all the fields are unbound
    I need to check if there has been any change made and then proceed to check for conditions
    When i use me.dirty it gives me an error run-time error 2455, you entered an expression that has an invalid reference to the property dirty
    how do i get rid of this and continue to test my conditions

    thank you

  2. #2
    Join Date
    Jun 2004
    Location
    Florida, US
    Posts
    521
    I believe dirty property only works with records.
    ghozy.

  3. #3
    Join Date
    Apr 2004
    Location
    ny, ny
    Posts
    224
    well then is there a way for me to check if the form has been changed

  4. #4
    Join Date
    Jun 2004
    Location
    Florida, US
    Posts
    521
    there is an ugly way to do it. create a public variable as boolean . put some code into afterupdate of the controls and update the flag variable to true in afterupdate events. so when you want to check if form is changed you can check this flag variable. and make it false back after you are done.
    ghozy.

Posting Permissions

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