Problem moving between forms

L

Louise

I have a form which has my own commnad buttons to move betwen forms.
I have written some code to make them more intelligent - involving
cloning the underlying recordset. Was all working fine until I added
some code in the form's Before Update property. I use this to check
whether multiple fields have been completed and if not the user
receives a form telling them which fields need to be filled in.

When I click on the cmd button to move to the next record (coded:
DoCmd.GoToRecord , , acNext) I get error 2105 "you can't go to the
specified record". I really don't understand what is going on - I'm
happy to send chunks of code if anyone can help.

Cheers, louise
 
Top