what about the new record?
what is the iif statement for : don't show a linenumber for a new record?

I wanted a "x . y" number and changed the textboxcontrols ource to

=IIf([newrecord]=True;"";GetLij nNr([Form];"PrimIDTstblwo ningen";[PrimIDTstblwoni ngen]) & " . " & Count(*))