Subreport RecordSource Property 2

  • Thread starter Thread starter Ken Snell
  • Start date Start date
K

Ken Snell

Your expression will return either a True or False result, not a
RecordSource string.

To set the RecordSource of a subreport:

Me.rpt_Employee_Info_Sub.Report.RecordSource = "q_rptEmployeeInfoSub"
 
from my report's open event, i'm using the below code to change the
recordsource of my subreport. it gives me an error saying "expression has an
invalid reference to the property form/report"

can someone check my syntax?


Me.rpt_Employee_Info_Sub.Report.RecordSource = Me.RecordSource =
"q_rptEmployeeInfoSub"
 
Back
Top