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
Thanks.
If Forms!surveyGroup.survey.Form.surveyTypeID.Value = 2 Then MsgBox "is Land" Me!survey.Form!subform_LandSightings.Form.Visible = TrueElse Me!survey.Form!subform_LandSightings.Form.Visible = FalseEnd IF
There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.
Me.survey.Form.subform_Lan
mx