Connecting Tech Pros Worldwide Help | Site Map

Printing Table

  #1  
Old April 16th, 2006, 01:35 AM
fong.yang@martecgroup.com
Guest
 
Posts: n/a
Please help I'd like to know if there is an easy way to setup a command
button to select all the records in a table and then send it to print
instead of opening the table and then choosing file and print. Thanks.

  #2  
Old April 16th, 2006, 03:45 AM
fredg
Guest
 
Posts: n/a

re: Printing Table


On 15 Apr 2006 17:21:38 -0700, fong.yang@martecgroup.com wrote:
[color=blue]
> Please help I'd like to know if there is an easy way to setup a command
> button to select all the records in a table and then send it to print
> instead of opening the table and then choosing file and print. Thanks.[/color]

1) Select the table on the Main database folder (without opening it)
and click the print tool button.

Or...
2) Right-click the table on the Main database folder and select Print.

Or....
3) Code a command button click event:
Docmd.SelectObject acTable, "TableName", True
DoCmd.PrintOut , , , , 1

Or... better yet,
4) You should not be printing the table anyway.
Create a report with the layout and records you wish to print. Print
the report. That's what they are for.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
FireFox - Printing Table contents in excess of two page Gopal123 answers 2 November 24th, 2007 10:30 PM
Printing from the print preview screen Brad Pears answers 2 June 12th, 2007 07:15 PM
How to split an HTML page for printing LuTHieR answers 3 July 14th, 2006 07:35 PM
Printing table cell background colors? Sugapablo answers 0 July 24th, 2005 01:39 AM