473,387 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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
1 1520
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
0
by: ghadley_00 | last post by:
MS Access Create form / report with multiple pages using different background images Hi, Would like to have users fill out a multipage form, and then click a print button, which pulls up the...
0
by: Yash Talwar | last post by:
hi everyone, I am using crystal report through asp.net on windows 2000 server. Printer is installed on my server, but i cant see the print icon on the report( when i run it on any browser). I...
0
by: Bill | last post by:
Hello All, I have created a report using the Crystal Reports which comes with Visual Studio 2005, now from running the report to it appearing completed on screen can take a little while. I...
6
by: Dave | last post by:
On my form I have combo boxes. These combo boxes, after updating them, populate respective listboxes that are located below the combo boxes on the same form. I am trying to use a "generate...
0
by: sunny123 | last post by:
How Can i set the print icon in the printpreviewdialog to go to the printdialog? when I click on Report button in my application it'll open the report in print preview screen. There when I click...
0
by: mudapa03 | last post by:
In my application when I click on Report button report opens in Print Preview mode and when I click on print icon report directly send to the printer. Instead of that can I override the print icon...
3
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however,...
0
by: raj3109 | last post by:
Hi experts, I’d like to have some helps from you guys. I need to create an app with C# and Crystal Report.Net using VS 2008 for a Landscape & Nursery company. The company will send out coupon...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.