Q. 64.what Are Crosstab Queries? How To Build Them?: Attach Image
Q. 64.what Are Crosstab Queries? How To Build Them?: Attach Image
Return to design view click-on the small button in the upper left corner of the screen that has the blue
triangle, pencil, and ruler (Like the one on the right). Then simply click-in the field Area and select a new
field and it will replace the old one. Or, click-on the field you want to remove and tap the Delete key.
Sometimes you may have a lot of fields and it will be too large for a single sheet or paper.
ATTACH IMAGE
To see how you query would look, if you print it, click on the button that has a piece of paper and
magnifying glass (Print Preview-like the one to the left) while you are in the print preview you ll see a
little magnifying glass that you can move over your query. If you click the left mouse button once the
magnifying glass will Zoom in and enlarge the view. If you click the left mouse button again it will zoom
out. To return to your query, click on the close button just above the print preview of your query.
ATTACH IMAGE
ATTACH IMAGE
Sometimes it is nice to see the results of queries summarized r arranged into meaningful group crosstab
queries can do this.
ATTACH IMAGE
1. Start a new query design using the database of interest (click on the queries tab, and then click
the New button)
2. Pick crosstab query wizard.
ATTACH IMAGE
1. Switch to the Database Window. You can do this by pressing F11 on the keyboard.
2. Click on the Reports button under Objects on the left side of screen.
3. Double click on Create Report Using Wizard.
4. On the next screen select the fields you want to view on your form most of the time you would
select all of them.
5. Click Next.
6. Select if you would like to group your files. Keep repeating this step for as many groupings as
you would like.
7. Click next.
8. Select the layout and the paper orientation you desire.
9. Click next.
10. Select the style you desire. HINT If you plan on printing your report, I Suggest you use a light
background to save on printer toner and ink.
11. Click next.
12. Given you report a name, and select Preview Report.
13. Select Finish.
14. You should see your report. To adjust the design of your report, simply hit the design button
(Same as with the tables), and adjust your report accordingly.
Microsoft Access lets you create mailing labels for your databases that you have. To do this do the
following.
1. Switch to the Database Window. You can do this by pressing F11 on the key board.
ATTACH IMAGE
2. Click on the Reports button under objects on the left side of screen.
3. Click on new.
ATTACH IMAGE
4. Select Label wizard and the table you would like to get your information from.
5. Click ok.
6. Select the layout of your labels.
7. Click next
8. Select the font size and color you want on each label.
9. Click next.
10. Select how you want your label to look.
11. Click next.
12. Select how you want your labels sorted.
13. Give your label report a name and preview it.
You can make changes to reports by adding or deleting report sections and controls and by changing
their properties.
1. Begin by switching to the Database window. Click on the Reports tab, and then on the Design
button.
2. The design view window is divided into many report sections. Each section contains controls like
text boxes, expression, and so on. You make changes to the report by altering these controls
and their properties.
Report Header: The report header contains a label with the reports title and often other controls.
Page Header: Page headers contain information that will repeat on every page-like column headings.
Detail Section: The detail section contains labels and field controls that specify which data will be
printed.
Page Footer: The report footer contains items that appear only at the end of a report, like grand totals,
or instructive text like please report all errors to Manager
ATTACH IMAGE
To get started, display the Relationships screen by pulling down the Tools menu and selection the
relationships menu item. The blank relationships screen will appear as follows:
The next step is to display all of the tables on the relationships screen. Right click anywhere on the
Relationships screen and select the show tables option from the
When the show table dialog box appears, highlight both the customers table and the accounts table as
shown below and then click on the add button.
ATTACH IMAGE
Then click on the close button to close this dialing box. The relationships screen will now reappear with
the tow tables displayed as below:
ATTACH IMAGE