?
Solved

Form_dirty - doesn't work

Posted on 2003-03-04
7
Medium Priority
?
504 Views
Last Modified: 2012-06-27
I have form with tabcontrol and on that form I have event Form_dirty. That event should be fired when data on the form will change, or when I will move beetwen tabs (according to the help files). For some reason that event is not fired.
(I also have another small form and that event is fired there)
Does anyone knows any reason why this event might not be fired.
My form is bound and I am using Access 2000.
Thank you in advance
Schapopa
0
Comment
Question by:schapopa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 3

Expert Comment

by:LordThlan
ID: 8065531
Are you using any unbound fields?  An unbound field does not register as a Dirty event.
0
 

Author Comment

by:schapopa
ID: 8065568
Form is bound and I was changing fields that are bound. There are few unbound fields.
0
 
LVL 3

Expert Comment

by:LordThlan
ID: 8068894
Even on MSDN it says if you switch between pages of the tab control it should fire the dirty event.  Do the control of the form fire the dirty event?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:schapopa
ID: 8070256
Neither switch between pages, nor controls on the form fire that event.
0
 

Author Comment

by:schapopa
ID: 8078615
Event is not fired because I modify few records when form is loaded (I modify them or not, depending on the situation). Is there any solution to that problem.
Schapopa
0
 
LVL 3

Accepted Solution

by:
LordThlan earned 100 total points
ID: 8081339
If the form is already dirty then the OnDirty event won't fire again.
0
 

Author Comment

by:schapopa
ID: 8082236
I have solved that problem differently, but also learned about that event. Thank you for all your help and effort,

Cheers!!
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question