I'm trying to make a sub sub-form visible / invisible from a button click on the main form.
subform_landSightings is a subform of survey.
The code below gives this ERROR:
Run time error 2455
You entered an expression that has an invalid reference to the property Form/Report
If Forms!surveyGroup.survey.Form.surveyTypeID.Value = 2 Then
MsgBox "is Land"
Me!survey.Form!subform_LandSightings.Form.Visible = True
Me!survey.Form!subform_LandSightings.Form.Visible = False