I am in subform A and I am trying to change the record source in subform B (they both have the same parent form) but I keep receiving this error:
Run-time error '2455'
You entered an expression that has an invalid reference to the property form/Report
These are the two ways I tried it and receiving the error in both cases:
Run-time error '2455'
You entered an expression that has an invalid reference to the property form/Report
These are the two ways I tried it and receiving the error in both cases:
Code:
Forms!frmDailyCheckReport.subfrmDailyCheckReportStops.Form.RecordSource = "qryDailyCheckReportStops"
Me.Parent.subfrmDailyCheckReportStopsPostponed.Form.RecordSource = "qryDailyCheckReportStops"