Do Form events fire when the form is not in focus?

W

WAstarita

I know it was a dumb question but I'm trying to determine if I can trap
the deletion of the current record on the form. I have a global
address book search screen and an Edit Address screen. The problem is
that when I have both windows open, If I happen to delete the active
record on the Edit screen FROM the search screen, the form goes
#DELETED and #ERROR all over. Now when I open the form, it opens
filtered to that record and I turn off Allow Addtiions so the user
cannot use the scroll wheel to navagate away.

I wanted to be able to detect when this occurs so it can automaticaly
clear the filter. I know I could put a button on it but my end users
are not that bright.

Any ideas?
 
M

Marshall Barton

WAstarita said:
I know it was a dumb question but I'm trying to determine if I can trap
the deletion of the current record on the form. I have a global
address book search screen and an Edit Address screen. The problem is
that when I have both windows open, If I happen to delete the active
record on the Edit screen FROM the search screen, the form goes
#DELETED and #ERROR all over. Now when I open the form, it opens
filtered to that record and I turn off Allow Addtiions so the user
cannot use the scroll wheel to navagate away.

I wanted to be able to detect when this occurs so it can automaticaly
clear the filter. I know I could put a button on it but my end users
are not that bright.


The problem seems to be that the delete button is on the
search form instead of the edit form. Isn't deleting a type
of editing?

Either that or the search form needs to remove the filter
and requery or close the edit form.
 
Top