I am trying to set the OpenArgs of a SubReport that is in another report.
Here's what i've tried in the report that contains the subreport:
gives me runtime error '2455', "You entered an expression that has an invalid reference to the property form/report."Code:Private Sub Report_Open(Cancel As Integer) subGetStudentInfoById.Report.OpenArgs = "1" End Sub
I'm assuming OpenArgs is a readonly property? or something with the subreport? Please help, Thanks in advance