Why the form_current does not trigger?

  • Thread starter Thread starter Min
  • Start date Start date
M

Min

Hi, I need put some code when recordset move. First, I put code in
Form_Current() event, it worked, but now, it does not work anymore. What's
could be the reason?

Private Sub Form_Current()

If Me.NewRecord Then
txtCompName = ""
End If

End Sub
 
Min said:
Hi, I need put some code when recordset move. First, I put code in
Form_Current() event, it worked, but now, it does not work anymore. What's
could be the reason?

Private Sub Form_Current()

If Me.NewRecord Then
txtCompName = ""
End If

End Sub
Look at the Properties window, Event tab for the form. Does it still say
[Event Procedure] against "On Current"? If not, then that is your problem.
 
Back
Top