TNX, it works very well. Except one thing. When I get to the last record to add a new one, it tries to calculate some fields that don't exist and returns Invalide use of Null. How could I fix that. Like this:
If newfield = FALSE Then
calculate()
End If
How to check if the last one is indeed the new field? Thanks for answer!