hi, ive written an if statement to check if a sub form is open before requering it, but im having an issue with c alling the object, below is my if statement, what is the correct method of calling the sub form inside a form please.
Code:
If CurrentProject.AllForms("forms!FrmManHours.SubfrmManHours").IsLoaded Then
Forms!FrmManHours.SubFrmManHours.Form.Requery
Else
End If