A
Arne Olsson
Hi!
I,m working on a way to print the active record in a form using the design i
made in a report without showing the report for the user and i would like to
send the user to the printer selection so he can decide printer. I have tried
this with the code below but the problem is that the acviewPrview shows the
report and that will only confuse the enduser. The end user should feel that
he can print the information in the form on the printer he decides. Is this
possible to solve?
DoCmd.OpenReport "PrintReport", acViewPreview, , _
"[Ärendenummer]=[Forms]![frm1]![Ärendenummer]"
DoCmd.RunCommand acCmdPrintSelection
I,m working on a way to print the active record in a form using the design i
made in a report without showing the report for the user and i would like to
send the user to the printer selection so he can decide printer. I have tried
this with the code below but the problem is that the acviewPrview shows the
report and that will only confuse the enduser. The end user should feel that
he can print the information in the form on the printer he decides. Is this
possible to solve?
DoCmd.OpenReport "PrintReport", acViewPreview, , _
"[Ärendenummer]=[Forms]![frm1]![Ärendenummer]"
DoCmd.RunCommand acCmdPrintSelection