speakers_86
Registered User.
- Local time
- Today, 03:25
- Joined
- May 17, 2007
- Messages
- 1,919
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.
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.