Microsoft access tutorial

Page 83

Microsoft Access Tutorial - FunctionX

4. From the Available Fields, double-click the following fields: AlbumID, TrackNumber, TrackTitle, and TrackLength. Click Next twice. 5. Name the query sqyTracks. Click Finish. 6. Close the sqyTracks query.

b/ Creating the Subreport: 1. From the Database Window, click the Reports button. Then click the New button on the toolbar. 2. In the New Report dialog, choose Report Wizard. In the combo box, choose sqyTracks. Click OK. 3. Select all fields and click Next three times (accepting the defaults). 4. For the report layout, choose Tabular and click Next twice. 5. For the title of the report, type Album's Tracks. Click the Modify The Report's Design. Click Finish. 6. In the Page Header section, right-click the Album Title label and choose Properties. In the All tab, set its Visible field to No. In the Detail section, click the AlbumID. Set its Visible field to No. 7. Change the Album's Tracks label's font to Garamond, size 16, Bold, color Brown. Right-click on the label and choose Size To Fit. 8. Since the Album Title label and the AlbumID text box will not be seen, shrink them to 1/16 to the left. Move the other items to the left. 9. Delete everything in the Page Footer section. 10. Bring the Report Footer bar completely up close to the Page Footer bar. 11. Save and close the subreport. If its name is confusing, rename it sbrTracks.

c/ Adding the Subreport to the Parent Report: 1. From the Database Window, open the rptAlbums1 report in Design View. If you have too many items on the screen and they are taking too much space, close the Properties, and the Field List, we need the Toolbox. 2. On the Toolbox, click the Control Wizard button to deselect/uncheck it. 3. Click the Subform/Subreport button and click in the report under the lower red line. Click somewhere to deselect. Click the Child label and delete it. Right-click the subreport and choose Properties. 4. Give to your subreport the following properties:

http://www.functionx.com/access/print.htm (83 of 95) [2000/11/04 09:42:33 AM]


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.