Navigating Form from Subform

G

Guest

The main form has no data, but is used to select data from a combo box and
update the current record in the sub form. It has the combo box and an
UPDATE button that updates field in the current record of the sub form.

I have been upable to determine how to move the current record in the
subform from the main form. My first attempt was:

DoCmd.GotoRecord acDataForm, Forms!Mainform.form!SubForm.Name, acNext

The error says the form is not open.

I want to move to the next record in the subform when the user updates the
current record to speed up datat entry.

Thanks.
 
G

Guest

I thought I had, because it does work. I just added a setfocus back to my
combo so I can correct the next record.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top