I've been using this code for years to add a record. Although it's been a while since I used it on this particular table and form.
The form is a split form.
Code:
DoCmd.GoToRecord , , acNewRec
Me!DvdMovieTitle.SetFocus
When I remark out the SetFocus line no error.
This same code, except for the field name, works fine on all of my other forms.
The filed is enabled and not locked. Ther name is correct.
I even checked several backups dating back for 2 months and I get the same error.
Any ideas?
James
The form is a split form.
Code:
DoCmd.GoToRecord , , acNewRec
Me!DvdMovieTitle.SetFocus
When I remark out the SetFocus line no error.
This same code, except for the field name, works fine on all of my other forms.
The filed is enabled and not locked. Ther name is correct.
I even checked several backups dating back for 2 months and I get the same error.
Any ideas?
James