Good evening all,
I search for this and couldn't find a thread, but I think it must have happened before.
I have a report rptWeeklyFeesembedded as a subreport in three different reports. rptPayPlus, rptPayMinus, rptPayTotal. I have an unbound control that generate a Dsum function in the subreport with criteria IDNumber being in the main report. My problem is that since all three reports are different, I get error messages if I reference by report name reports!rptPayPlus!IDNumber. So I tried to reference with Me!IdNumber.value and get an error as well. Anyone can lead me to the promised land?
I also tried to copy the IDNumber txtbox in the subreport and reference it there, but I generate an error as well. I tried RoyVidar's great tip about using the builder (he mentioned it for subforms) but it doesn't seem to work for subreport.
Any help is apreciated, I am sick with syntax.
Thanks
Cosette
I search for this and couldn't find a thread, but I think it must have happened before.
I have a report rptWeeklyFeesembedded as a subreport in three different reports. rptPayPlus, rptPayMinus, rptPayTotal. I have an unbound control that generate a Dsum function in the subreport with criteria IDNumber being in the main report. My problem is that since all three reports are different, I get error messages if I reference by report name reports!rptPayPlus!IDNumber. So I tried to reference with Me!IdNumber.value and get an error as well. Anyone can lead me to the promised land?
I also tried to copy the IDNumber txtbox in the subreport and reference it there, but I generate an error as well. I tried RoyVidar's great tip about using the builder (he mentioned it for subforms) but it doesn't seem to work for subreport.
Any help is apreciated, I am sick with syntax.
Thanks
Cosette