B
Bonnie
Hi everyone!!! Happy Cinco de Mayo! Using A02 on XP. Have
a form with unique field [Key]. Want to fill in the form
and click the button to open the report. But only want the
report for that record not all records and don't want to
use a parameter that requires you to type again. I have
the following but a parameter box appears and the wordage
is actually the field value. If I type it in again, the
report opens with just the one record but, again, I've had
to type the unique field. What is wrong with my wordage?
DoCmd.OpenReport "rSAR", acViewPreview, , "[Key]=" & Me.Key
DoCmd.RunCommand acCmdZoom100
Thanks in advance for any help or advice! LUV U GUYS!
a form with unique field [Key]. Want to fill in the form
and click the button to open the report. But only want the
report for that record not all records and don't want to
use a parameter that requires you to type again. I have
the following but a parameter box appears and the wordage
is actually the field value. If I type it in again, the
report opens with just the one record but, again, I've had
to type the unique field. What is wrong with my wordage?
DoCmd.OpenReport "rSAR", acViewPreview, , "[Key]=" & Me.Key
DoCmd.RunCommand acCmdZoom100
Thanks in advance for any help or advice! LUV U GUYS!