event after find record?

wene

New member
Local time
Today, 12:31
Joined
Nov 14, 2008
Messages
1
Hello alltogether!

After searching a lot, I think this is a new question: I'm using the standard find form in Access 2003:

Code:
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70

Now I want to recalc the form after finding or at least after closing the the find/replace dialogue, but I can't figure out to use the correct event :mad:

Cheers,
Werner
 
Well, you could intercept the event OnFocus (or whatever) so that you trigger some code when your form gets the focus back. However this will trigger every time the form gets focus, so before calling find/replace set a global flag so you can test that the form is getting focus after the required activity. remember to unset the flag afterwards!
 

Users who are viewing this thread

Back
Top Bottom