By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,124 Members | 2,208 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,124 IT Pros & Developers. It's quick & easy.

How do I create an Icon in a form to Print a report

P: n/a
ray
I am trying to create an icon so that when someone reachs the end of a
report page they can preview and print. Does anyone have any suggestions
aboutte best way to do this. I can crate the preview but I cannot get the
form to print even when I just try to print it using a DoCmd in VBA.
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Can you just print from the preview of the report? If you need both a
preview and a print, open the report twice. Once with
"docmd.openreport, acviewpreview"; once with "docmd.openreport,
acviewnormal".

To create an "icon" on a form, just get a bitmap you like and put a
command button with its Transparent property set to Yes over it.

Hope this helps.

-Josh
"ray" <ra******@optonline.net> wrote in message news:<r5*********************@news4.srv.hcvlny.cv. net>...
I am trying to create an icon so that when someone reachs the end of a
report page they can preview and print. Does anyone have any suggestions
aboutte best way to do this. I can crate the preview but I cannot get the
form to print even when I just try to print it using a DoCmd in VBA.

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.