I have a bound form whose record source is a table called tblschools. I need to be able to trap the event that occurs when the user moves from record to record without updating (just viewing the record). I know that the Current event gets fired when the user lands on the next record but I need to be able to detect when the user is about to leave the current record (I call it the “opposite of current”, for lack of a better name).
I did some Google searching and could not find an event built into Access that does this. I entered “opposite of current” into Google and did find a MS article pertaining to Access 2002 (I’m using 2003) that provides code that does this. Here is the article:
http://support.microsoft.com/default.aspx?…kb;en-us;304139
I’m able to insert the class module with no problem. However, when it comes to adding the second block of code to my form I’m getting all kinds of syntax errors and am frankly somewhat lost.
My questions are:
1 – Is there an easier way of doing this?
2 – If I need to resort to the method described in MS’s article, where in the form code does their code get inserted?
Thanks, in advance.