|
![]()
Allowing the user to print a report from a Combo Box selectionThe way that I tend to do this is to create a small lookup table, tlkpReport, with the following fields:
You can add other fields to this Table, for example a field to be used to filter if a report is to be printed. Next create a Form, and add a Combo Box, cboReport, to the Form. Set the RowSource of this control to the lookup table, tlkpReport. Change the width of the first column, containing ReportName, to 0, so that the user doesn't see the internally used name for the Report. As this column should be the Bound Column for the control, you can then use the Combo Box's AfterUpdate event to quickly print the report:
Copyright & Disclaimer | |||||||||||||||||||||||||
| Last modified at 06/06/2006 15:00:53 | ||||||||||||||||||||||||||