how to print on button click ?

f_disk

Registered User.
Local time
Today, 17:04
Joined
Jul 18, 2006
Messages
45
Hi all....

I have a list box that I can select mulitple items from - I then click a search button and it runs a query that finds what I am looking for from a table and then displays the results in a subform.
In the subform I can input weights and get a percent....anyhow.

How do I set up a button so that it will print out a report or the report from the subform information that is currently being viewed.

Also, I can already do this by clicking a button on the form and pulling up the installed report program but, you need to input data to get this report.

I kinda want this button to be a "I need it now" type of print option.

Thanks...as always my questions are probably confusing...:D
 
Hi f_disk,

Use a parameter query and within it use information on your form to govern what information you need on your report. Once you have the parameter query correct with the info in your subform use the query in a report and show the report on the screen.

Hope it helps.

Robert88
 
Shouldn't you be able to do this by just assigning the "print report" option to an inserted button? You can then select the name of the subform in question and you have a quick and easy button that will print the output.
 

Users who are viewing this thread

Back
Top Bottom