Skip to main content

Access databases that require special reporting

Yet another reason to use Access is the ability it gives you to create customized reports quickly and easily. Some database programs, especially those designed for single-table databases (known as flat-file databases), have some canned reports built in, and that’s all you can do — just select a report from the list and run the same report that every other user of that software runs.

If you’re an Excel user, your reporting capabilities are far from easy or simple, and they’re not designed for use with large databases — they’re meant for spreadsheets and small, one-table lists. Furthermore, you have to dig much deeper into Excel’s tools to get at these reports. Access, on the other hand, is a database application, so reporting is a major, up-front feature.

An example? In Excel, to get a report that groups your data by one or more of the fields in your list, you have to sort the database first, using the field(s) to sort the data, and then you can create what’s known as a subtotal report. To create it, you use a dialog box that asks you about calculations you want to perform, where to place the results, and whether you’re basing a sort and/or a subtotal on more than one field. The resulting report is not designed for printing, and you have to tinker with your spreadsheet pagination (through a specialized view of the spreadsheet) to control how the report prints out.

In Access? Just fire up the Report Wizard, and you can sort your data, choose how to group it, decide which pieces of data to include in the report, and pick a visual layout and color scheme, all in one simple, streamlined process. Without you doing anything, the report is ready for printing. Access is built for reporting — after all, it is a database application — and reports are one of the most (if not the most) important ways you’ll use and share your data.

Because reports are such an important part of Access, you can not only create them with minimum fuss but also customize them to create powerful documentation of your most important data:

  • Build a quick, simple report that just spits out whatever is in your table in a tidy, easy-to-read format. (See Figure 1-3 for an example.)
  • Create a customized report that you design step-by-step with the help of the Report Wizard. (See Figure 1-4.) The report shown in the figure has the customers sorted by their company name. These options were easily put to work with just a few clicks.

 Ah, simplicity. A quick access report is just one click away.
Figure 1-3: Ah, simplicity. A quick report is just one click away.

The Report Wizard creates more elaborate (but simple) reports, like this one.
Figure 1-4: The Report Wizard creates more elaborate (but simple) reports, like this one.

You can really roll up your sleeves and design a new report, or play with an existing one, adding all sorts of bells and whistles. Figure 1-5 shows this happening in Design view. Note that the report’s title (Customer Contact Report) is selected: It has a box around it and tiny handles on the corners and sides of the box, which means you can reformat the title, change the font, size, or color of the text, or even edit the words if a new title is needed.

So, you can create any kind of custom report in Access, using any or all of your database tables and any of the fields from those tables, and you can group fields and place them in any order you want:


  • With the Report Wizard, you can choose from several preset layouts for your report, and you can customize all of it row by row, column by column.
  • You can easily add and remove fields after creating the report, should you change your mind about what’s included in the report. If you want to place your personal stamp on every aspect of your report, you can use Design view to do the following:
  • Add titles, instructional or descriptive text boxes, and graphics.
  • Set up customized headers and footers to include any information you want to appear on all the report’s pages.

Design view might look a little intimidating, but to really customize things, you’ll need it — and you might even enjoy it!
Figure 1-5: Design view might look a little intimidating, but to really customize things, you’ll need it — and you might even enjoy it!

If all this sounds exciting, or at least interesting, then you’re really on the right track with Access. The need to create custom reports is a major reason to use Access; you can find out about all these reporting options in Chapters 17 through 19. That’s right: This chapter plus three more — that’s four whole chapters — are devoted to reporting. It must be a big feature in Access!

Comments

Popular posts from this blog

Access Field Types and Uses

A field, you remember, is where your data lives. Each field holds one piece of data, such as Last Name or Batting Average. Because there are so many different kinds of information in the world, Access offers a variety of field types for storing it. In fact, Access puts the following field types at your disposal: Short Text Long Text Number Currency Date & Time Yes/No Lookup & Relationship Rich Text Attachment Hyperlink OLE Object Calculated There’s also an Autonumber field type, which is applied automatically to the first field in a new, blank database. The types just listed are those available for fields you create in addition to that first field — the ones that will contain your data. For now, suffice it to say that the Autonumber field is a field that contains an automatically-generated number so that each record is unique in that it has a unique autonumber, or ID. You get the word about the need for (and ways to create) unique fields later on, in Chapter ...

Part 2: Setting the Table in Access 2013

In this part . . . Continue building a well-structured database through the use of multiple tables. Customize your table fields to keep data consistent. Learn to efficiently edit your data. Create primary keys to keep your table data unique. Set up relationships between your database tables. Understand relationships for any kind of database and create and maintain indexes.

Building a Database in Access

So you’ve read a few posts here at the beginning of the blog, maybe you’ve leafed ahead where I’ve referred to other chapters, and now you feel ready. You want to dive in and start building a database. Keeping in mind my previous advice to take it slowly, you can take a whack at it here. In the following procedure, you set up a new database and then use the Table Wizard to build the first table in the database. Ready? Here we go . . . 1. If Access is not already running, take a moment to start it. Chapter 1 shows you how to do this. In the Access workspace, a series of large template icons appears, below a Search for Online Templates box, accompanied by links to likely searches for templates that store Assets, Business, Contacts, Employee, and so on. 2. Click the Blank Desktop Database icon. A Blank Desktop Database dialog box appears, as shown in Figure 3-1. Figure 3-1: New blank databases need names. Give yours one here. 3. Type a name to replace the generic Databa...