J
John
I am trying to open a report filtered to a particular RM (text field) from a
"dashboard" which is a continous form. PEPRM is the PKey field. I have the
following code in the 'on double click' event for the PEPRM field:
DoCmd.OpenReport "rptPEPs", acViewPreview, , "PEPRM = " & Me!PEPRM
I still get a pop up asking for the parameter value. If I enter nothing,
the report is blank, if I enter the PEPRM's ID (same as the value in the
PEPRM fields), it returns what I would expect. Why is the filter not working?
Thanks
"dashboard" which is a continous form. PEPRM is the PKey field. I have the
following code in the 'on double click' event for the PEPRM field:
DoCmd.OpenReport "rptPEPs", acViewPreview, , "PEPRM = " & Me!PEPRM
I still get a pop up asking for the parameter value. If I enter nothing,
the report is blank, if I enter the PEPRM's ID (same as the value in the
PEPRM fields), it returns what I would expect. Why is the filter not working?
Thanks