Referencing Navigation Form SubForm

Your doing this:

Forms!frmHome!frmDataSource.Form!frmDay1.Requery

You need to be doing this:

Forms!frmHome!frmDataSource.Form!frmDay1.Form.Requery

In the first version, you are attempting to require a subform CONTROL. This is the object that houses the subform, and it cannot be requeried.

Also, I do not believe you need to set Dirty=False in the form close event. I do believe insert and update have already fired by this point.
 
I copie dand pasted your example and got the same errors.

It's looking for a field.

can't find field frmDay1
can't find field frmWeeklyAgenda

I'm considering going back to the navigation pane.
 
I showed you how to do it in the sample I uploaded. If you can post an mdb I will help.
 
I am using your example.

Also, I tried creating an mdb but they don't support Navigation Forms.
 
I'm not sure how else to help. This attachment has object names you are using and works fine.
 

Attachments

I'll work on it some more myself.

In the mean time I'll use command buttons to open forms.

Thanks much for your time and effort,
James
 

Users who are viewing this thread

Back
Top Bottom