G
Guest
Hi there, using A02 on XP.
I have a double primary key for my unique value. Record is on subform for
editing, validation and print. Click a button to preview the report after
editing complete. Copied some wordage and put my rpt and field names in. But,
when I try to run, I get the parameter box. I know this is a quotes issue but
can't figure out where I've run amok.
DoCmd.OpenReport "rSAR", acViewPreview, , "[PlanNum]=" & Me![PlanNum] & "
AND [PlanYear]=""" & Me.[PlanYear] & """"
Could someone look at this and tell me what I'm doing wrong? Remember trying
this recently but cannot find my notes.
Thanks in advance for any help or advice!
I have a double primary key for my unique value. Record is on subform for
editing, validation and print. Click a button to preview the report after
editing complete. Copied some wordage and put my rpt and field names in. But,
when I try to run, I get the parameter box. I know this is a quotes issue but
can't figure out where I've run amok.
DoCmd.OpenReport "rSAR", acViewPreview, , "[PlanNum]=" & Me![PlanNum] & "
AND [PlanYear]=""" & Me.[PlanYear] & """"
Could someone look at this and tell me what I'm doing wrong? Remember trying
this recently but cannot find my notes.
Thanks in advance for any help or advice!