|
Print A Single Record In Access 97/ 2000 When you're reviewing data in Form view, the default behavior of selecting File | Print is to print everything in the current Recordset. If you want to print only the current record, the manual approach is to go to File | Print, choose the Selected Record(s) radio button, and click OK. If you frequently need to send a single record to the printer, you probably get tired of manually going through these extra steps. But you can save time by creating a simple macro to print the current record for you. To do so, select Macros in the database window, click New, and choose PrintOut from the Action cell's drop-down list. In the Action Arguments section, click the Print Range field. The default setting is All, so change this setting to Selection. Save your work as macPrintOneOnly and close the window. One of the easiest ways to make this macro accessible is to assign it to a button on your form. To do so, open the form in Design view and drag the macPrintOneOnly macro onto the form (leaving some space between the button and the other controls on the form). You'll want to change the default name to something more user friendly, such as Print This Record. Switch to Form view and click the button to print the current record.
|
|