My Assistant
![]() ![]() |
|
|
Jan 7 2011, 03:55 PM
Post
#1
|
|
|
UtterAccess Addict Posts: 157 From: Sydney, Australia |
Hello
Is there a function that will return a true/false for whether a form has been changed? Thanks |
|
|
|
Jan 7 2011, 04:32 PM
Post
#2
|
|
|
UtterAccess VIP Posts: 2,215 From: Vermont, USA |
Do you mean the form's design has been changed? Or do you mean that the data on a form has changed?
|
|
|
|
Jan 7 2011, 04:35 PM
Post
#3
|
|
|
UtterAccess VIP Posts: 9,440 From: Wisconsin |
Milster,
Can you be more specific about what you're trying to do? Are you referring to the actual design of a form? In that case, you may want to look at the .DateModified property of your form. That will tell you the date of the most recent change. CurrentProject.AllForms("NameOfYourForm").DateModified Hope this helps, Dennis |
|
|
|
Jan 7 2011, 04:44 PM
Post
#4
|
|
|
UtterAccess Addict Posts: 157 From: Sydney, Australia |
Sorry. I meant when the data has changed whilst using a form. Not the design. I am aware of "Before Update" but just wanted to see if there was a function that could be called from a code module that returns a value for whether a change has happened or not.
Thanks |
|
|
|
Jan 7 2011, 04:51 PM
Post
#5
|
|
|
UtterAccess VIP Posts: 2,135 From: Plano, TX |
check the .Dirty property of the form. there is also a Dirty Form Event which fires when the dirty property becomes TRUE.
hope this helps |
|
|
|
Jan 7 2011, 05:00 PM
Post
#6
|
|
|
UtterAccess Addict Posts: 157 From: Sydney, Australia |
You learn something every day. Thank you!
|
|
|
|
Jan 7 2011, 05:31 PM
Post
#7
|
|
|
UtterAccess VIP Posts: 2,135 From: Plano, TX |
glad we could be of assistance! good luck with your project (IMG:style_emoticons/default/thumbup.gif)
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 19th June 2013 - 04:39 PM |