Skip to main content

Databases with user forms

When you’re planning your database, consider how the data will be entered:

If you’ll be doing the data entry yourself, perhaps you’re comfortable working in a spreadsheet-like environment (known in Access as Datasheet view), where the table is a big grid. You fill it in row by row, and each row is a record.

Figure 1-1 shows a table of customers in progress in Datasheet view. You decide: Is it easy to use, or can you picture yourself forgetting to move down a row and entering the wrong stuff in the wrong columns as you enter each record? As you can see, there are more fields than show in the window, so you’d be doing a lot of scrolling to the left and right to use this view.

You may want to use a form (shown in Figure 1-2) instead. A form is a specialized interface for data entry, editing, and for viewing your database one record at a time, if

  • Someone else will be handling data entry
  • Typing row after row of data into a big grid seems mind-numbing

Datasheet view can be an easy environment for data entry. Or not
Figure 1-1: Datasheet view can be an easy environment for data entry. Or not

The mind-numbing effect (and inherent increased margin for error) is especially likely when you have lots of fields in a database, and the user, if working in Datasheet view, has to move horizontally through the fields. A form like the one in Figure 1-2 puts the fields in a more pleasing format, making it easier to enter data into the fields and to see all the fields at once (or only those you want data entered into).

You find out all about forms in Chapter 7. If your database is large enough that you require help doing the data entry, or if it’s going to grow over time, making an ongoing data-entry process likely, Access is the tool for you. The fact that it offers simple forms of data entry/editing is reason enough to make it your database application of choice.

Figure 1-2: Here’s a simple form for entering new records or reviewing existing ones.
Figure 1-2: Here’s a simple form for entering new records or reviewing existing ones.

Comments

  1. Please write more about MS Access, I like how you write in this blog, keep it running

    ReplyDelete

Post a Comment

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 ...

Choosing Between Flat and Relational Databases

Unlike ice cream, databases come in just two flavors: flat-file and relational. Also unlike ice cream, it’s not really a matter of preference as to which one you choose. Some databases require a relational approach; others would be overwhelmed by it. Read on to figure out how to tell the difference. Isolationist tables In a flat system (also known as a flat-file system), all the data is lumped into a single table. A phone directory is a good example of a flat-file database: Names, addresses, and phone numbers (the data) are crammed into a single place (the database). Some duplication occurs — if one person has three phone lines at home, his or her name and address are listed three times in the directory — but that’s not a big problem. Overall, the database works just fine. Tables that mix and mingle The relational system (or relational database) uses as little storage space as possible by cutting down on the duplicated (also known as redundant) data in the database. To a...

Handy Access 2013 Keyboard Shortcuts

Access, like all Windows applications, is meant to be used with the mouse. The mouse is assumed to be your main way of communicating with the software — clicking Ribbon tabs, buttons, and drop-down lists, and making choices in dialog boxes to use things like the Report Wizard and the Access Options dialog box discussed in the previous sections of this chapter. You can left-click to make standard choices from onscreen tools and rightclick to access pop-up menus — also known as context-sensitive menus because the menu choices vary depending on what was right-clicked. If you right-click a Ribbon tab or button, you get choices for customizing toolbars and buttons. If you right-click a database component tab (say, the Table tab while that table is open), you get choices related to the table. Not a big fan of the mouse? Check out the Cheat Sheet for this blog. It’s full of powerful keyboard shortcuts. Keystroke Function F1 Opens the Help window. Alt+f Opens the File tab. ...