Hi,
I'm trying to get a report to open from a check box on a second subform with this code I got from:
docmd.OpenReport "ReportReviewLetters", acViewPreview, "", "[Pay Number]= Me!FormQuerySubStaffLookup.form!FormQuerySubStaffLookUpAssSub.form!text1 "
It looks to be ok but it's not opening the report with the criteria.
Thanks in advance.
I'm trying to get a report to open from a check box on a second subform with this code I got from:
docmd.OpenReport "ReportReviewLetters", acViewPreview, "", "[Pay Number]= Me!FormQuerySubStaffLookup.form!FormQuerySubStaffLookUpAssSub.form!text1 "
It looks to be ok but it's not opening the report with the criteria.
Thanks in advance.