Am I in the new record line?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I check with code in the On Current Event that I am in the new record line
without check if the fields values of the record are null.
It's in a continuous form.

I work with Access 2000.

Thanks in advance,
Pantelis
 
Examine the NewRecord property of the form:

Private Sub Form_Current()
If Me.NewRecord Then
Me.Caption = "New client"
Else
Me.Caption = "Client number " & Me.ClientID
End If
End Sub
 
Back
Top