[AccessD] Dirty property

Steve Schapel steve at datamanagementsolutions.biz
Wed Jul 22 17:23:15 CDT 2015


Well, if you are testing for the value of the Dirty property, the new record 
will have already been saved/committed by the time you get to the form's 
Close event, so yes, I would expect it to be False at that point.

Regards
Steve

-----Original Message----- 
From: Susan Harkins
Sent: Thursday, July 23, 2015 9:54 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Dirty property

>
> Both, but specifically in this case, I'm talking about the Close button at
> the top-right of the form. It seems easier to just remove those. :)
>

Susan H.

>
> "The code behind that event uses Me.Dirty to check for any new values."
>
> What event are you referring to?  Do you have a command button on the
> form, and you are looking at the Click event of the button?  Or do you 
> mean
> the form's built-in [x] close button, and you are looking at the form's
> Close event?  Or something else?
>
> Regards
> Steve
>
>
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com 



More information about the AccessD mailing list