I looked at the link you sent, but am overwhelmed a bit.
How would I achieve what I'm trying to do?
1. I have a form where I enter txtStartDate and txtEndDate.
2. On the form is a button with code on it.
3. When clicking the button I want a report called rptAllItems_Summary_SelectDates to open in Preview mode.
4. I want the Subreport within it to show the records that fall within the range of dates selected on the Form. NOTE: The subreport's name is rptAllItems_Summary_Done; the control's name within the main report is called ctrl_CompletedItems.
The code I copied from another website, and it worked fine when the information was not inside a subreport. But now that it's in a subreport, I don't know how to compare the fields from the FORM, to the two fields on the SUBREPORT.
I referred to the field within the subreport in the following manner:
strDateFieldStart = "Reports![rptAllItems_Summary_SelectDates]![ctrl_CompletedItems].Report![ItemStartDate]"
The result of this seem to completely ignore the code, and it shows me all records. My only suspicion is that I'm not referencing the fields inside the subreport correctly, and it's ignoring the entire code as a result.