How to Print a Report Based On Selections in a ListID: Q147310 3.00 3.00b WINDOWS
The information in this article applies to:
SUMMARYThis article shows by example how to present the user with a form containing a multiple select list from a field in a table, and then print a report that contains only the selected records.
MORE INFORMATION
Step-by-Step ExampleThis example uses the Customer table from Testdata.dbc database in the \Samples\Data subdirectory. 1. Create a new report. Add the Customer table to the Data Environment, and 2. Create a new form, and add the Customer table to the Data Environment.
3. Add a List to the form. In the Properties Sheet of the List do the 4. Add a new property to the form. In the New Property dialog box, type:
5. Add a command button to the form. Type the following code into its
Additional reference words: 3.00 3.00b VFoxWin
KBCategory: kbhowto
KBSubcategory: FxprgGeneral
|
Last Reviewed: May 22, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |