Assigning a zero-length string makes no sense to me.
The bound control will be Null at the new record until the user fills it in.
Surely that's what is desired without any code or unnecessary dirtying of
the new record.
If you remove the code, your other problems will probably disappear too.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"AA Arens" <bartvandongen@gmail.com> wrote in message
news:1136199614.792047.268310@o13g2000cwo.googlegr oups.com...[color=blue]
> The practice is not so clean, that's correct. However after starting a
> new record, the person has to fill it in anyway. But If Me.NewRecord
> Then Me.CompanyName = "" gives an error.
> Related to that, when I push the button "Go to Next Record" (standard
> button, made with the toolbox-buttonbar, I can even push it beyond the
> last record, and thus creating new records. How to solve this
> behaviour? (While keeping my wish as started this topic). "Go to Last
> Record" button works.
>[/color]