S
Snedden
I am trying to print the information from a current form to a report. I have
searched the web and tried using the different suggestions of code which,
begins with DoCmd.Open Report...but when I use that I am getting a message
that says this Macro has not been set up and I was under the impression that
I did not need a Macro...maybe I am putting this in the wrong place. I have
put the code below that I am using in the Properties of the button on the
form...on the "on click"...Please Help Me!
DoCmd.OpenReport "PrintCustomerReport",acViewPreview,, "[OrderID]=Forms!
frmEditOrder!OrderID"
Just so you know I have tried many variations of this string and all have
been wrong and ask for the Macro to be set up.
Thank you!
Snedden
searched the web and tried using the different suggestions of code which,
begins with DoCmd.Open Report...but when I use that I am getting a message
that says this Macro has not been set up and I was under the impression that
I did not need a Macro...maybe I am putting this in the wrong place. I have
put the code below that I am using in the Properties of the button on the
form...on the "on click"...Please Help Me!
DoCmd.OpenReport "PrintCustomerReport",acViewPreview,, "[OrderID]=Forms!
frmEditOrder!OrderID"
Just so you know I have tried many variations of this string and all have
been wrong and ask for the Macro to be set up.
Thank you!
Snedden