Connecting Tech Pros Worldwide Help | Site Map

Printing Table

fong.yang@martecgroup.com
Guest
 
Posts: n/a
#1: Apr 16 '06
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.

fredg
Guest
 
Posts: n/a
#2: Apr 16 '06

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