Add a command

A

Abilly

It would be good to add a command to print only the currently view record instead of every record in the database. I know there are several methods of doing this but most are more complex than what the average user understands. Possibly for the command button under Misc. Print Current. As you know, there is Print Table, Print Report and Print Form but all print all records in the table they are associated with. In all, there needs to be a way a user can add a command button to a form and via wizard or other simple way be able to print only the current record whether it be on a form, report, or other.

Thanks,
Andrew
 
W

Wayne Morgan

Have you tried going to File|Print and under Print Range choose Selected
Record(s)? Also, in code, the PrintOut method has a Print Range option of
acSelection. To select the record, you need to click the Record Selector bar
on the left side of the form.
 
Top