Chapter 1. Working with a Database

FileMaker Pro databases can be as simple as a list of the things you need to pack when you’re camping (complete with pictures!) or as complex as a company-wide system for purchasing, sales, inventory, invoicing, shipping, and customer tracking. But all of them essentially work the same way. This chapter gives you a tour of FileMaker’s major features and gets you ready to use your very first database.

FileMaker’s vast assortment of tools and options can make the program’s window as intimidating as a jumbo-jet cockpit. But the program’s menu commands, dialog boxes, keyboard shortcuts, and other options stay largely consistent across all databases, so everything you learn in the next few pages will apply to almost every database you’ll ever use.

Tip

Because a database usually solves a problem of some kind, some FileMaker experts call a database a solution, as in, “I can create an inventory solution for your bakery, but it’s going to cost you some dough.” Usually, database and solution mean the same thing, although the term solution sometimes implies a system of several connected databases.

A Very Quick Database Tour

Every FileMaker Pro database has two major working parts. First, there’s the data you’re storing. And second are the tools that help you view and manage your data. Since data changes radically from file to file, you’ll start this tour focusing on the elements you find in nearly every FileMaker database—the tools. Those tools—buttons, controls, and pop-up menus—help you put information into your database or edit the information that’s already there. And once you have data in your file, your tools help you find and manage the specific data you need.

Every database window has the same basic structure—the content area in the middle is where the data goes, and as you can see in Figure 1-1, a handful of special items appear at the top and bottom of the window.

Note

To follow along in this chapter, you’ll find it helpful to download the sample database from this book’s Missing CD page at www.oreilly.com/pub/missingmanuals/fmp12mm.

Every database window has the same apparatus around the edges—what’s inside the window is up to you. Compare this window with the one shown in Figure 1-2. Both windows have a Status toolbar, zoom controls, and a Mode pop-up menu. The content area is the only difference.

Figure 1-1. Every database window has the same apparatus around the edges—what’s inside the window is up to you. Compare this window with the one shown in Figure 1-2. Both windows have a Status toolbar, zoom controls, and a Mode pop-up menu. The content area is the only difference.

Content Area

The content area is where you put the information (data) that makes your database work for you.

When you create a new FileMaker database, the standard view looks a little like Figure 1-2: It’s plain, with just a few boxes for storing data and a little decoration at the top and bottom. That’s because you haven’t added any content yet, and you haven’t started arranging your data in a way that mirrors your needs. In Figure 1-3, you can see that data has been entered, and the fields are arranged so that they look more like information you’d expect to see outside your database. For example, address fields look like addresses on envelopes. (In Chapter 3, you’ll learn more about changing the way your data looks.)

Unlike the stark emptiness shown in Figure 1-1, this view of the database has fields for entering information, and some fields even have something in them before you start to type (see page 232 for more information on auto-enter fields). These fields are arranged in a column, just the way FileMaker throws them on the screen when you first create them. Compare this screen with Figure 1-3, where the fields are resized and rearranged to create a more pleasing interface to showcase your data.

Figure 1-2. Unlike the stark emptiness shown in Figure 1-1, this view of the database has fields for entering information, and some fields even have something in them before you start to type (see page 232 for more information on auto-enter fields). These fields are arranged in a column, just the way FileMaker throws them on the screen when you first create them. Compare this screen with Figure 1-3, where the fields are resized and rearranged to create a more pleasing interface to showcase your data.

You can’t see everything in this window, as evidenced by the thin, light-gray scroll bar along the bottom edge. You’ve got three options for viewing more information. You can reduce the zoom level so everything fits in the window, make the window larger (if your display is big enough), or drag the scroll bar to scan across the screen.

Figure 1-3. You can’t see everything in this window, as evidenced by the thin, light-gray scroll bar along the bottom edge. You’ve got three options for viewing more information. You can reduce the zoom level so everything fits in the window, make the window larger (if your display is big enough), or drag the scroll bar to scan across the screen.

Scroll Bars

Just as with most windows on your computer, you can resize FileMaker’s windows. And if you make your window too small to display all the data in the content area, scroll bars appear so you can see the stuff outside the current window size.

FileMaker’s scroll bars work just like the ones in any other program—drag them to see any areas of the screen that aren’t visible. Press Page Up on your keyboard to scroll up one screenful, and Page Down to scroll the other direction.

If your mouse has a track ball, then notice that it scrolls differently based on where you put your mouse cursor. That’s FileMaker’s contextual scrolling. The ball scrolls through the window when the cursor is inside the window’s content area. It scrolls through the records in your database if you run the cursor over the book icon in the Status toolbar. And if you put your cursor over a field that has a scroll bar (like the Notes field in your sample database), then your mouse’s trackball (or similar feature) scrolls through the text in the field.

Zoom Controls

For when resizing the window isn’t enough, FileMaker gives you a zoom control to magnify or shrink what you’re seeing onscreen. To use FileMaker’s zoom control, click the Zoom In button for a closer look (each click zooms in a little more). You can zoom in up to 400 percent, so everything is four times bigger than normal. Click Zoom Out, and everything shrinks, to as small as one quarter of its normal size. The Zoom Level shows your current level, and clicking it takes you back to 100 percent. Clicking Zoom Level a second time returns you to the last zoom level you were viewing.

Note

Since you probably don’t need to examine the words and numbers in your database on a microscopic level, you’ll probably use the zoom control mostly in Preview mode to fit the whole page on the screen, or to adjust the contents of your FileMaker window to the most easily readable size (depending on the resolution of your monitor). You might notice, though, that some fonts don’t enlarge well, so they’re actually most legible at 100 percent.

Understanding Modes

Each of FileMaker’s four modes is a work environment unto itself, specially designed to help you view, edit, organize, or present your information in a specific way. Switch modes depending on what you need to do.

  • Browse mode is the one you see when you first open a database, since it’s the one you use most often. In this mode, you can add, change, and view data in your database. Browse mode is the view shown in all the figures so far, and it’s where you’ll spend most of this chapter.

  • When you have a lot of data, looking through it all for a particular bit of information can be tedious. Use Find mode to let FileMaker do the looking for you. You tell FileMaker what you’re looking for in Find mode; when it’s done looking, FileMaker returns you to Browse mode and shows what it found. For more details on finding specific records, see Finding Records.

  • In addition to using databases (viewing, finding, sorting, adding, and changing data), you can use FileMaker to build databases. Layout mode is where you design the screens (called layouts in FileMaker parlance) that present your database information to best advantage. Part 2 is all about Layout mode.

  • Although computers make maintaining and manipulating mountains of information a breeze, you still can’t avoid paper. Eventually you’ll want to print something out, like a set of mailing labels or a paper backup of all your records. If you’re ever curious about how something will look when printed, switch to Preview mode. It shows a one-page-at-a-time view of your data exactly as it’ll appear when printed. Get more info on Preview Mode and Printing.

The Mode pop-up menu is the easiest way to change modes (Figure 1-1). To use the Mode pop-up menu, just click it and then choose one of the four modes. Your FileMaker window instantly switches to the new mode. You can also glance at the Mode pop-up menu to see which mode you’re currently in. (The Mode pop-up menu is the most popular way to mode-hop, but you have plenty more options; see the box on Changing Modes.)

Status Toolbar

Changing modes may be confusing when you’re getting started, but the Status toolbar gives you constant feedback about the features available in your current mode. So as you switch modes, you see the tools in the Status toolbar changing, too. In fact, the Status toolbar changes so much, you’ll soon find that you barely have to glance at the Mode pop-up menu anymore, because you can see the tools you need for the job at hand. FileMaker also gives you a couple of ways to find out which mode you’re in. The Mode pop-up menu at the bottom of the window displays the current mode, and the View menu indicates the current mode with a checkmark.

Figure 1-4 shows the Status toolbar in each of its four modes. If your sample database isn’t showing all the tools you expect, try widening the window. When the window is narrow, some buttons and commands disappear.

Use this illustration as a cheat sheet for locating all of FileMaker’s most commonly used features. In Browse mode (top), you can click the “New record” button and then start entering data. Find mode (second from top) lets you look for records—say all your clients who live in Iowa—with all the tools you need to create brand new Find requests or to select a recent or a Saved Find. And if you inspect a report by clicking the Preview button before you print it (third from top), then you get handy tools for saving the report as a PDF, exporting the data to Excel, and plain old printing. Layout mode lets you change the appearance of your database with tools for text, field, and object formatting (bottom).

Figure 1-4. Use this illustration as a cheat sheet for locating all of FileMaker’s most commonly used features. In Browse mode (top), you can click the “New record” button and then start entering data. Find mode (second from top) lets you look for records—say all your clients who live in Iowa—with all the tools you need to create brand new Find requests or to select a recent or a Saved Find. And if you inspect a report by clicking the Preview button before you print it (third from top), then you get handy tools for saving the report as a PDF, exporting the data to Excel, and plain old printing. Layout mode lets you change the appearance of your database with tools for text, field, and object formatting (bottom).

Tip

Get in the habit of glancing at the Mode pop-up menu before you type. If you enter information in Find mode, thinking you’re in Browse mode, FileMaker doesn’t save that information, and you have to start over.

Note

Don’t be alarmed when the menus across the top of your screen change a bit when you switch modes. That’s just FileMaker being smart. Some commands aren’t useful in some modes, so the program doesn’t clutter up your screen—or your brain space—with menus when you don’t need them. For example, the Arrange menu appears only when you’re in Layout mode and the Records menu changes to Requests in Find mode and to Layouts in Layout mode.

Opening and Closing Database Files

Each database you create with FileMaker Pro is stored as a file on your hard drive—just like your Microsoft Word documents, Excel spreadsheets, and all the PowerPoint presentations you’ve ever created. The file contains all the information about how the database is structured, plus all the information stored inside it, which means you can open, close, copy, or back up a database as you would any other file. But if you need a bit more explanation, this section explains how to do those tasks, and some quirks that are particular to FileMaker files.

Opening a Database

To open a database, open FileMaker Pro, and then choose File→Open. FileMaker’s Open File dialog box appears. Select the file with which you want to work (see Figure 1-5), and then click Open. If you prefer, you can find the file using Windows Explorer (Windows) or the Finder (Mac OS X), and then double-click its icon.

When you open a database, you see one or more windows on your screen. If you open the People database that you downloaded at the beginning of this chapter, then you see one database window.

FileMaker’s Open File dialog box is pretty standard stuff, but notice the pop-up menu near the bottom left that helps you find specific kinds of files on your hard drive. If you choose FileMaker Pro Files as shown here, then all non-FileMaker files in the window are grayed out, so you can easily ignore them as you’re looking for the database you want to open.

Figure 1-5. FileMaker’s Open File dialog box is pretty standard stuff, but notice the pop-up menu near the bottom left that helps you find specific kinds of files on your hard drive. If you choose FileMaker Pro Files as shown here, then all non-FileMaker files in the window are grayed out, so you can easily ignore them as you’re looking for the database you want to open.

Closing a Database

To close a database, choose File→Close or press Ctrl+W (⌘-W). This command actually closes a window, and if your database has only one open window, you’ve closed the whole database. But you can open more than one window into a single database (see Viewing a Table), and if you do, then you need to close each window individually before the file is closed. When you have more than one database open, you can’t always easily tell which windows go with which database.

If you’re not sure what to close, you have an easy way to close all the windows in all the databases you currently have open. Press Alt (Windows) or Option (Mac), and then click the trusty File menu. In Windows, the menu command doesn’t look any different, but as long as you’re holding down Alt when selecting Close, all FileMaker windows will be closed. In Mac OS X, the Close command is gone, replaced by a more powerful Close All. Choose it, and FileMaker closes all its windows, which also saves and closes all your open databases.

Adding Data to Your Database

Now that you understand the basic components of a FileMaker database, it’s time to start adding your own information. Whether your database contains information about individual people, eBay auctions, products you sell, student grades, or whatever, FileMaker always thinks of that information in individual chunks called records. Each record contains everything the database knows about that person, auction, product, or student.

Since you need to store many smaller pieces of information in each record (like a person’s phone number, address, birthday, and so on), FileMaker can give each record an almost infinite number of fields—the specific bits of data that define each record and make it unique.

For example, each person in a database of magazine subscribers gets her own record. First name, last name, phone number, street address, city, state, Zip code, and her subscription’s expiration date are all examples of fields each record can include.

The techniques in this section work the same way whether you’re creating a new database or adding to an existing one.

Note

All records in a database have to have the same fields, but that doesn’t mean you have to fill them all in. For instance, in your saltshaker collection database, you might not know the year a particular shaker was manufactured, so you can leave that field blank.

Creating a Record

Adding a new record is simple: Choose Records→New Record or press Ctrl+N (⌘-N). (Since you’ll be creating lots of records in your FileMaker career, memorize this keyboard shortcut.)

Note

When you’re adding new records, you have to be in Browse mode. If you’re in Find mode use the Ctrl+N (⌘-N) keyboard shortcut, you’ll make new find requests instead of new records, and if you’re in Layout mode, you’ll create new layouts.

Entering Data

Once you create a new record, you can enter information about the person you want to keep track of—that’s where those fields come in handy. To enter information in any field in a record, just click it, and then type. What to type? As Figure 1-6 shows, most fields in this database have a label at left indicating the type of information the field contains. Field borders have turned to dotted lines—a confirmation that you’re doing data entry.

Fields can look like just about anything, but in the People database, they’re pretty simple. When you click in a field, dotted borders indicate the fields you can edit. The field you’re currently editing gets a solid border. With the miracle of In Focus formatting the fields in the People database are shaded as you type in them, which helps keep you oriented when you’re entering information in a screen full of fields.

Figure 1-6. Fields can look like just about anything, but in the People database, they’re pretty simple. When you click in a field, dotted borders indicate the fields you can edit. The field you’re currently editing gets a solid border. With the miracle of In Focus formatting the fields in the People database are shaded as you type in them, which helps keep you oriented when you’re entering information in a screen full of fields.

Note

A label is just a bit of text that appears near a field. It’s meant to help you figure out what kind of data belongs in the field. See the box below for more on recognizing fields and labels.

Moving Between Fields

Efficient data entry is all about typing something in a field and then moving right along to the next field. Lather, rinse, repeat. You can use the mouse to click the next field, but unless you’re eager to burn that extra half a calorie, you may want to try a quicker, less exercise-intensive way, like the following:

  • Press the Tab key to move to the next field. If you’re not in any field, then the Tab key puts you in the first field.

  • Press Shift-Tab to move to the previous field. This time, if you’re not in any field, then FileMaker puts you in the last field.

But FileMaker gives you so much flexiblity to determine how it behaves that you can expand this tabbing behavior to include the Return and Enter keys (Tab Order).

Note

If you’re wondering who decides which field is next or previous, dig this: You do. When you design a database, you get to set the Tab Order. That’s the order FileMaker follows when you press Tab or Shift-Tab to move among fields. See Tab Order for details.

Editing a Record

You’re not stuck with the data you enter in a record if something changes. For example, when people move, you can change their address data. Just click in the field to be updated, select the data, and then start typing the new information. (If you try this on the sample People.fmp12 file provided on the Missing CD page, then you’ll notice that a field called Modified changes when you click out of the record. You’ll learn what that field is used for later.)

Tip

To edit a record, you may need to find it first. See Finding Records for details on the Find feature.

Reverting a Record

As you edit a record, you may decide you’ve made a mistake and wish you could put things back the way they were before. That’s no problem for the Revert Record command. Its purpose is simple: When you choose Records→Revert Record, FileMaker throws away any changes you made since you began editing the record. This trick comes in handy when you accidentally modify a field by bumping into the keyboard, or realize you accidentally entered Donald Trump’s address in Warren Buffet’s record. Just revert the record, and you can be confident that whatever you did has been forgotten.

The Revert Record command is available only when you’re in a record (see the box on Commitment, or On the Record) and you’ve made changes. If you don’t have the record open, or you haven’t made any changes since you last committed the record, then the Revert Record command is grayed out.

Note

One of the easiest ways to commit a record is to simply click some empty space (not in a field) in the content area. FileMaker dutifully saves the record for you. Once you’ve committed a record, you can no longer choose the Revert Record command. (How’s that for commitment?) If you want a little more control, then you can tell FileMaker to ask you for confirmation before committing a record. You’ll learn how to do that.

Duplicating a Record

While no two people are alike, it may not always seem that way from their contact information. For instance, if you want to include three people from the same city in your database, the data in the City field is the same for each person.

The Email and Phone fields won’t be the same, but they may be close. It’s time for a little organized laziness: Instead of making new blank records and retyping all that stuff, just choose Records→Duplicate Record or press Ctrl+D (⌘-D). FileMaker displays a new record containing all the same information as the record you just duplicated. (FileMaker copies everything from the first record into a new one for you.) Now you can edit just the information that needs to be changed.

Tip

Be sure you don’t accidentally leave in the first person’s email address or phone number, lest a message or phone call get misdirected later.

Deleting Records

Getting rid of a record you don’t need is a breeze. FileMaker Pro gives you three commands that let you delete one record, a group of records, or even all the records in your database.

Warning

You can’t undo deleting a record, because FileMaker saves changes automatically. So when you delete a record (or all the records in a database), make sure you’re ready to part with the information. Consider saving a backup copy of your file first (see Saving a Copy of Your Database).

  • One record. Choose Records→Delete Record or press Ctrl+E (⌘-E) to delete the record you’re currently on. FileMaker asks if you’re sure you want to delete the record, lest you accidentally send, say, your best client’s address to the trash bin. If you’ve indeed written him out of your life, then, in the message box, click Delete to complete the purge.

  • Multiple records. FileMaker has a helpful command that trashes any group of records of your choosing. Before you use this command, you have to tell FileMaker which records to delete. You do that with the Find command (Finding Records). Then once you have the found set of records to be deleted, choose Records→Delete Found Records. Again, FileMaker gives you a chance to change your mind with a message box that tells you how many records you have in your found set and asks you to click either the Delete All or the Cancel button.

  • All records. In some cases, you may want to delete all the records in a database. Maybe a colleague wants an empty copy of your database for his own use. Or perhaps your database holds data you just don’t need anymore, like test results you’re about to reproduce. You can easily accomplish complete record elimination with two menu commands: Just choose Records→Show All Records, and then choose Records→Delete All Records. (But if you just want an empty copy of your database, cloning is easier; see Saving a Clone of Your Database.)

Note

In reality, the Delete Found Records and Delete All Records commands are one and the same. But FileMaker knows whether you’re in a subset of your database or looking at all the records, and changes the wording of the menu command accordingly. It’s just another bit of feedback that helps you get the results you need.

Once you get used to deleting records, you may get tired of FileMaker nagging you about being sure you want to delete. You can bypass the dialog box by holding down the Shift (Windows) or Option (Mac) key when you choose Records→Delete Record. Or, if you’re a fan of keyboard shortcuts, you can type Shift+Ctrl+E (Option-⌘-E) to get the same results.

Fields for Lots of Text

FileMaker fields can hold a lot of text. Technically, each field is limited to 2 GB of data per record, which is a fancy way of saying, “Way more than you’ll ever need.”

To see for yourself, in the People database, click in the Notes field. When you do, a scroll bar appears at the right side of the field. If you type lots of notes, then you can scroll through them. (When you design a database, you get to decide which fields have scroll bars, as discussed on Scroll Bars.) Even if a field doesn’t have scroll bars, you can still add lots of text. As you type, FileMaker just makes the field grow to hold whatever you type. When you leave the field, it shrinks back to its normal size, hiding anything that goes outside the edges. Don’t worry, though; the text reappears when you click back into the field.

You can enter text into a field in all the usual ways, like typing on your keyboard or pasting text you copied from another field or another program.

Note

That second scrollbar you see right next to the notes field lets you see if there are lots of notes for a record. That scroll bar controls a portal, and you’ll learn what it’s for on Creating and Using Portals.

Customizing the Toolbar

If you’ve been noticing the Status toolbar during the last few sections, you may have noticed that it contains some handy buttons, like New Record and Delete Record. If you’re a mouse fan, you can use those buttons instead of the menu or keyboard shortcuts. But what about Duplicate Record? That sounds pretty handy, but there’s no sign of a Duplicate Record button (Figure 1-7, top).

There’s a way to add the Duplicate button to your toolbar, though. Choose View→Customize Status Toolbar. You’ll see the dialog box that lets you make the Toolbar your own (Figure 1-7, bottom). You can add buttons for other commonly used commands, or delete buttons that you’ll never use. The top section of the dialog box shows all the buttons you can add to the toolbar. Don’t worry about messing up either. The middle section gives you a pristine copy of the default toolbar that you can drag into place to put things back to normal. The toolbar’s default is to show buttons and a bit of helpful text below them. But you can make a selection from the Show pop-up menu to show Icon Only or Text Only instead (Mac only).

Here’s FileMaker’s default toolbar. If you can’t see these buttons in the toolbar of the window you’re looking at, one of two things might have happened. First, if your window isn’t wide enough to fit all the toolbar’s buttons, some of them will be hidden. Click on the >> button at the right edge of the toolbar to get a pop-up menu showing the missing buttons. Or just widen your window and they’ll reappear. The second thing that would make your toolbar different from the one at top is that it may have been customized, using the dialog box shown here.

Figure 1-7. Here’s FileMaker’s default toolbar. If you can’t see these buttons in the toolbar of the window you’re looking at, one of two things might have happened. First, if your window isn’t wide enough to fit all the toolbar’s buttons, some of them will be hidden. Click on the >> button at the right edge of the toolbar to get a pop-up menu showing the missing buttons. Or just widen your window and they’ll reappear. The second thing that would make your toolbar different from the one at top is that it may have been customized, using the dialog box shown here.

Note

The process for customizing the toolbar in Windows is a little different. For example, you can’t drag a default toolbar to undo your customization—Choose Toolbars, then highlight Status Toolbar, and then click Reset.

Understanding Browse Mode Error Messages

As you just learned in the section on deleting records, FileMaker gives you frequent feedback about what you’re doing. The program isn’t being a control freak (although after the umpteenth dialog box it’s understandable if you feel that way). FileMaker is just trying to keep you informed so you can make good choices. So you sometimes see dialog boxes that FileMaker calls error messages. Unlike the Delete warning, when you get an error message, all you can do is click OK. There’s no real choice to make, but you usually have to take some kind of action after you’ve dismissed the error message.

Typing in Vain

If you try typing something before you’ve clicked in a field, then FileMaker warns you with the box shown in Figure 1-8. You’ll see this same missive in the event you try to type into a database with no records in the found set, or indeed no records at all. It may seem overly protective to warn you that you’re not actually entering anything anywhere, but in this day of multitasking and distractions, it’s helpful to know that FileMaker doesn’t let your information disappear into space as you type it.

You will have to dismiss an error message every time you accidentally bump a key, and you can’t get rid of the error message for good. Just remember that you have to have at least one found record in your database (Choose Records→New Record) and have your cursor in a field before you can start typing. (And take that book off your laptop’s keyboard, eh?)

In this communiqué, FileMaker asks you to tell it where to put all that data your 110 wpm typing power is delivering. Until you click in a field, your information has nowhere to go.

Figure 1-8. In this communiqué, FileMaker asks you to tell it where to put all that data your 110 wpm typing power is delivering. Until you click in a field, your information has nowhere to go.

Navigating Your Database

Once you’ve entered a few dozen—or a few hundred—records into your database, the next challenge is to get back to a specific record. But first, you need to learn how to navigate through the records in the database. Hint: It’s not called Browse mode for nothing, you know. The Status toolbar gives you several tools that help you get where you need to go.

Note

As you go through this section on navigating, it helps to have a database open in front of you so you can follow along and try some of these techniques. You can download a sample on this book’s Missing CD page at www.missingmanuals.com/cds/fmp12mm.

Navigating Record by Record

In the People database, or indeed any FileMaker database, you can add as many records as you want. To tell FileMaker which record you want to look at, you have three options:

  • The book icon lets you flip from record to record one at a time. Pretend your database is a book, with each record on its own page. To get to the next record, click the right-hand page. To go back, click the left-hand page. If you can’t go any further in one direction, then the appearance of the icon’s “page” changes, as shown in Figure 1-9.

    In addition to displaying the controls for switching records, the Status toolbar indicates where you are in the database. You’re looking at the first record in the found set of records. And the pie chart tool tells you that your current found set is showing 5 of the 22 total records in the database. If you click the pie chart, then the found set switches to show you the 17 records that aren’t in the current found set.

    Figure 1-9. In addition to displaying the controls for switching records, the Status toolbar indicates where you are in the database. You’re looking at the first record in the found set of records. And the pie chart tool tells you that your current found set is showing 5 of the 22 total records in the database. If you click the pie chart, then the found set switches to show you the 17 records that aren’t in the current found set.

  • The slider is kind of a turbocharged version of the book icon. Instead of clicking once for each record, you can advance through a bunch of records by dragging the slider. If you know approximately where you want to go (like “around halfway” or “about one-third from the end”), then the slider is the quickest way to get there. The slider is most handy when you want to get to the beginning or the end of a database. In that case, just drag the slider as far as it goes in either direction.

  • The Current Record indicator (above the slider) serves two purposes. First, it shows you which record you’re on. Second, if you know which record you want to be on, then you can simply type the record number to jump to it. Beside the Current Record, the Found Set display shows you how many records you have in your database.

Note

All navigation methods let you move within what FileMaker calls a found set, which lets you look at a specific set of records at one time. Learn more about finds and found sets on Advanced Find Techniques.

Keyboard Shortcuts

FileMaker also has a few keyboard shortcuts to make record navigation painless. If you haven’t used a database program before, then you’ll notice that some keys act in ways you may not expect—like the Enter key, as described below. Still, spending a little time getting used to using these keystrokes saves you hours of time down the road:

  • To go to the next record, press Ctrl+down arrow.

  • To move to the previous record, press Ctrl+up arrow.

    Note

    If the up and down arrow keys don’t work, check your operating system for custom keystrokes. Any custom OS settings will override FileMaker’s behavior.

  • To activate the Current Record indicator without using the mouse, press Esc. Now type a record number, and then press Enter to go to that record. (This shortcut works only when you’re not in the record; see the box on Commitment, or On the Record.)

  • Pressing Enter on your keyboard’s numeric keypad automatically commits the record, rather than inserting a new line in a field, as you may expect based on what the Enter key does in other programs. To insert a new line in FileMaker, press Return.

    Note

    Some keyboards don’t have a Return key—instead, two keys are labeled Enter. In this case, the Enter key that’s near the number keypad commits the record, while the other (normal) Enter key enters a blank line in the field. If you have a Function key (look for a key labeled “func” or “fn”) press and hold it while you press the Enter key. The Enter key should commit the record.

  • Pressing Tab moves you from one field to another. (To indent a line, you have to type a tab character into a field, by pressing Ctrl+Tab [Option-Tab].)

Finally, bear in mind that you can change which key moves the cursor on a field-by-field basis, as you’ll learn in Chapter 7. For instance, FileMaker lets you decide if Enter—not Tab—should move you from field to field. If you make that choice, then Tab types a tab into a field, and Enter doesn’t commit the record. Unfortunately, you can’t tell which key does what by looking at a field; you just have to try some of these keys to find out.

Finding Records

When your database really gains some size, you realize that even keyboard shortcuts aren’t the fastest way to get to the record you want. You need to tell FileMaker to pull up the record for you. For example, you have a season ticket holder whose last name is Andrews, who just renewed his subscription for a year. You need to find his record and make the update, and you don’t have all day.

If you have hundreds of records in your People database, it could take ages to find the one you want by clicking the book icon. Instead, switch to Find mode, and then tell FileMaker what you’re looking for, and the program finds it for you. This section explains how to use Find mode to search for a record or group of records, and how to edit your search if you don’t get the results you anticipated. (If you downloaded the example file discussed on A Very Quick Database Tour, you can open it and try out Find mode now.)

You can get to Find mode in four ways:

  • From the Mode pop-up menu, select Find.

  • Choose View→Find Mode.

  • In the Status toolbar, click the Find tool.

  • Press Ctrl+F (⌘-F).

The Mode pop-up menu and View menu indicate which mode you’re currently in. Once you’re in Find mode, your window should look like Figure 1-10.

In Find mode, even though it may look like you’re editing records, you’re actually not—you’re editing requests instead. Requests are just descriptions of data you’re looking for, so FileMaker can find them for you.

To make a request, enter enough information to tell FileMaker what you want. It will show you records that have the same information you entered, much like searches you conduct using other programs, like a Google or Bing search.

Because Find mode looks so much like Browse mode, FileMaker gives you lots of feedback about the mode change. Instead of data, the fields now show magnifying glass icons to remind you that you’re typing search criteria, not new information. The cursor is in the First Name field, so that field is a different color than the other fields. Notice that the Status toolbar has changed. Now you have a Perform Find button, and even better, a Saved Finds tool that lets you store frequently used find criteria. That way, you don’t have to remember and recreate complicated finds. (See page 84 for details.)

Figure 1-10. Because Find mode looks so much like Browse mode, FileMaker gives you lots of feedback about the mode change. Instead of data, the fields now show magnifying glass icons to remind you that you’re typing search criteria, not new information. The cursor is in the First Name field, so that field is a different color than the other fields. Notice that the Status toolbar has changed. Now you have a Perform Find button, and even better, a Saved Finds tool that lets you store frequently used find criteria. That way, you don’t have to remember and recreate complicated finds. (See page 84 for details.)

Performing a Find

To find every person in your People database whose last name is Adama, do the following:

  1. Choose View→Find Mode (or use any of the other methods described on Finding Records to get to Find mode).

    Magnifying glass icons show up in all the fields you can use for searching, indicating that you’re in Find mode.

  2. In the Last Name field, type Adama.

    This part works just as in Browse mode: Click the field, and then type. (Remember, you aren’t editing a record—you’re editing a request.)

  3. In the Status toolbar, click the Perform Find button. (Or choose Requests→Perform Find, or press the Enter key.)

    FileMaker finds all records that have “Adama” in the Last Name field and then puts you back in Browse mode so you can scroll through the found set.

You can see how many records you found by looking at the count in the Status toolbar, as shown in Figure 1-11.

After a find, the Status toolbar shows how many records match your request. Here, FileMaker found two records with the last name of Adama. You can flip between these two records to your heart’s content, but you can’t see any records not in your found set. To see the other records, click the green pie or choose Records→Show Omitted Only. FileMaker swaps your found set and shows you the other records in your database. Then, when you’re ready to look at all your records again, click the Show All button.

Figure 1-11. After a find, the Status toolbar shows how many records match your request. Here, FileMaker found two records with the last name of Adama. You can flip between these two records to your heart’s content, but you can’t see any records not in your found set. To see the other records, click the green pie or choose Records→Show Omitted Only. FileMaker swaps your found set and shows you the other records in your database. Then, when you’re ready to look at all your records again, click the Show All button.

Tip

If your find didn’t come out exactly the way you wanted, don’t just return to Find mode. If you do, then you get an empty request and you have to start all over again. Instead, choose Records→Modify Last Find, which takes you to Find mode and then displays the request you used last. Now you can make any necessary modifications and perform the find again.

Fast Match

In the previous find examples, you had FileMaker search for records by telling it what to look for. But sometimes you’re already looking at a record that has the right information in it—you just want to find more records that match.

Say you need a list of everybody in the People file who lives in Caprica City. Flip to any record with the phrase “Caprica City” in the City field. The field is set to automatically select all its data when you click in it, but if you accidentally double-click you could deselect the data instead. If this happens, drag to select “Caprica City.” Right-click (Control-click) the highlighted text.

From the shortcut menu that pops up, select Find Matching Records (see Figure 1-12). Shazaam! Faster than you can say “Cylon attack,” FileMaker shows you a found set of all your sci-fi contacts.

Fast Match lets you select a piece of information from the record you’re viewing (in this case, it’s “Caprica City” from the City field) and find all other records that match it without the rigmarole of switching to Find mode. Right-click the selection, and then, from the shortcut menu, choose Find Matching Records.

Figure 1-12. Fast Match lets you select a piece of information from the record you’re viewing (in this case, it’s “Caprica City” from the City field) and find all other records that match it without the rigmarole of switching to Find mode. Right-click the selection, and then, from the shortcut menu, choose Find Matching Records.

Quick Find

If Fast Match isn’t flexible enough for you, try Quick Find. Quick Find is a text box residing in the toolbar that automatically searches every field on the layout you’re currently browsing. If you don’t see it on the right-hand side of your toolbar, you may need to make the window a bit wider. If it still doesn’t show up, see Customizing the Toolbar to learn how to customize your toolbar. Using Quick Find couldn’t be easier—click in the box, type a word or phrase, and then press Enter (Return). FileMaker displays a found set of records that contain your search term in any visible field. Click the magnifying glass in the Quick Find box for a list of recent finds. Choose one to perform that find again.

Understanding Find Mode Error Messages

Just as it does in Browse mode, FileMaker warns you if something goes wrong when you’re trying to find specific records. There are three main types of errors. Read on to see why each one occurs and what you need to do to correct the error.

No Records Match

If FileMaker can’t find any records that match your request, then you see the message pictured in Figure 1-13. You might see this error if you’re looking for a record that doesn’t exist in your database, or maybe you’ve misspelled the search criteria. Click the Cancel button to return to Browse mode, or Modify Find to try again. If you click Modify Find, you end up back in Find mode, with your original search terms showing so you can check your typing or enter new search terms.

If FileMaker can’t find any records that match what you’re looking for, then you see the message pictured here. If that’s all you needed to know, just click Cancel, and you wind up back in Browse mode as though you’d never performed a find.

Figure 1-13. If FileMaker can’t find any records that match what you’re looking for, then you see the message pictured here. If that’s all you needed to know, just click Cancel, and you wind up back in Browse mode as though you’d never performed a find.

No Valid Criteria

If you don’t type anything into any of the fields before you click Perform Find, then FileMaker doesn’t try to find records with all empty fields. Instead, it warns you that you didn’t enter any search terms. You’ll see the message shown in Figure 1-14. Just as with the No Records Match error, you can click Cancel to return to Browse mode, or you can click Modify Find to try again.

You see this message if you don’t enter search terms in at least one field before you click the Perform Find button. Sometimes, though, you might really want to find records that don’t have data in them. In that case, you can enter = in a field. FileMaker finds blank fields, and now you can start entering the missing data in those records. Chapter 2 gives you lots more detail on special search symbols and other tricky finds.

Figure 1-14. You see this message if you don’t enter search terms in at least one field before you click the Perform Find button. Sometimes, though, you might really want to find records that don’t have data in them. In that case, you can enter = in a field. FileMaker finds blank fields, and now you can start entering the missing data in those records. Chapter 2 gives you lots more detail on special search symbols and other tricky finds.

Accidental Data Entry in Find Mode

Find mode (Figure 1-10) looks so much like Browse mode that you can easily forget which mode you’re in. It’s a real drag if you think you’re in Browse mode and you start entering data. You can make quite a bit of progress entering records and never realize your mistake. When you finally do figure it out, it’s a rude awakening: None of the requests you’ve just entered can be turned into real records; you have to re-enter them all in Browse mode.

FileMaker gives you a warning if it thinks you’re entering data in Find mode. See Figure 1-15 to see what you’re in for. If you create more than 10 find requests while in Find mode, then FileMaker shows this message. If you’ve been entering data in Find mode by mistake (at least you’re finding out now, not after you’ve typed for 3 hours), just click No, switch to Browse mode, and then start over with your data entry. If you know you’re in Find mode, and you really want to add all these requests, then just click Yes. FileMaker doesn’t bother you again.

If you create more than 10 requests in Find Mode, then FileMaker wonders if you’re actually trying to enter data. If you’re setting up a magnificently complex find, then you may be annoyed. Just click Yes and keep up the good work. But if you just forgot to switch back to Browse mode, then this warning can save you more lost keystrokes.

Figure 1-15. If you create more than 10 requests in Find Mode, then FileMaker wonders if you’re actually trying to enter data. If you’re setting up a magnificently complex find, then you may be annoyed. Just click Yes and keep up the good work. But if you just forgot to switch back to Browse mode, then this warning can save you more lost keystrokes.

Sorting Records

Alphabetical order is probably the most common way to sort things, but FileMaker is by no means limited to the good ol’ ABCs. You can sort the records in any order you want, as often as you want. You can even do a sort within a sort, as you’ll see later in this section.

Understanding Sorting

Don’t confuse sorting with finding. When you sort, FileMaker doesn’t change the records included in your found set. Instead, it rearranges the records you’re viewing into a new order. For example, if you need a short-term loan, you might sort your contacts by annual income. FileMaker still shows the same found set of contacts, but with Uncle Moneybags at the very top of the list.

The process always begins the same way: First, choose Records→Sort Records or click the Sort button in the Status toolbar. You see the Sort Records dialog box shown in Figure 1-16, with all available fields listed on the left. You tell FileMaker how to sort by moving a field to the list on the right.

Note

FileMaker starts out by listing the fields shown on the Current Layout. If the field you want to sort by isn’t in the list, then, from the pop-up menu above the list, choose the second option. Instead of Current Layout, that option starts with Current Table. (Learn more about tables in Chapter 5.)

The Sort Records dialog box has a lot of options, but the two lists on top and the first two radio buttons are critical to every sort you’ll ever do in FileMaker. You pick the fields you want to sort by and the order in which they should be sorted, and then click Sort. That’s the essence of any sort, from the simple to the most complex.

Figure 1-16. The Sort Records dialog box has a lot of options, but the two lists on top and the first two radio buttons are critical to every sort you’ll ever do in FileMaker. You pick the fields you want to sort by and the order in which they should be sorted, and then click Sort. That’s the essence of any sort, from the simple to the most complex.

Here’s how to sort your found set of records by Last Name:

  1. In the Status toolbar, click the Sort button. Or choose Records→Sort Records, or press Ctrl+S (⌘-S).

    The Sort Records dialog box (Figure 1-16) appears.

  2. From the list on the left, select the Last Name field, and then click Move. (Or double-click the field name.)

    The field name appears in the Sort Order list on the right.

  3. Click Sort.

    FileMaker sorts the records in the traditional alphabetical-by-last-name order.

You can browse the sorted found set using any of your favorite navigation methods.

Beyond the Simple Sort

FileMaker figures that if you’ve sorted your data once, you’ll probably want to sort it the same way again, so once you’ve done a sort, the dialog box retains the last sort order you set up. That’s a nice shortcut if you want to repeat the last sort or refine it by adding more fields. But if you want something new, just click Clear All, and then start with a clean slate.

Each sort field has an order associated with it. The most frequently used are “Ascending order” (Alphabetical from A to Z) and “Descending order” (Alphabetical from Z to A). Once you’ve selected a field on the left, you can click one of these radio buttons before you click Move, and the field has the setting by the time it makes it to the Sort Order list. It’s OK, though, if you move the field over before you think about the order. In this case, from the Sort Order list, just click to select the field, and then pick the order. Each field in the Sort Order list shows a bar chart icon representing the order assigned to it, which matches the icons next to each radio button.

If you change your mind and don’t want to sort after all, click Cancel, and FileMaker forgets everything you’ve done while in this window.

The Status toolbar lets you know if your records are sorted (no surprise there). Below the Record Count, it says Sorted if you’ve done a sort, and Unsorted otherwise. (See the box on Feeling Out of Sorts? to learn more about sorting.)

Tip

Once you’ve done a sort, the Sort dialog box remembers the sort order, so if you forget how the records are sorted, just press Ctrl+S (⌘-S) to check.

Multiple Sort Fields

FileMaker lets you pick more than one field to sort by, which comes in handy when you have lots of records with the same data in some fields. For example, you might often have several people in your database with the same last name. If you just sort by last name, there’s no telling in which order the like-named people will fall. In this case, it would be ideal to sort by last name first and then, when the last names are the same, break the tie using the first name.

To set this up, simply open the Sort dialog box using Records→Sort Records or Ctrl+S (⌘-S), and then add the First Name field to the Sort Order list after the Last Name field. The order in which you list the fields is important: The first field you want to sort by (called the primary sort field) has to be at the top of the list, followed by each subsort field in order. In this example, the Last Name field is the primary sort field, followed by First Name. You can see the results of this multiple sort in Figure 1-17. If your sort fields don’t appear in the desired order in the Sort dialog box, fret not. FileMaker provides a convenient way to shuffle them around. Drag the double arrow immediately to the left of any field in the sort list to rearrange it as needed.

The records in this window are sorted by Last Name and then First Name. The last names are in alphabetical order, and when several people have the same last name, they appear together alphabetized by First Name. Check out the first two records, Lee and William Adama. The Status toolbar shows you’re viewing Sorted (as opposed to Unsorted) records. And a series of custom buttons, labeled First, Last, City, State, and Status, perform two functions. They’re a quick way to resort your found set, and their display shows you which sort is in effect.

Figure 1-17. The records in this window are sorted by Last Name and then First Name. The last names are in alphabetical order, and when several people have the same last name, they appear together alphabetized by First Name. Check out the first two records, Lee and William Adama. The Status toolbar shows you’re viewing Sorted (as opposed to Unsorted) records. And a series of custom buttons, labeled First, Last, City, State, and Status, perform two functions. They’re a quick way to resort your found set, and their display shows you which sort is in effect.

Note

If you change your mind about one of the fields in the Sort Order list, click it. The Move button changes to Clear, and a click removes the selected field from the list.

Multifield sorts can get as complicated as you like. Sometimes, they’re a little tricky to get right, particularly if you’re sorting by more than two or three fields (Figure 1-17 shows a report that uses multiple sorts).

Note

Sorting records when you’re creating a report can change the way FileMaker tallies data. See Layout Parts for info on creating layout parts that use sorted data to make sophisticated reports.

If you do a Multifield sort, and then discover you didn’t get quite what you expected (because you had the fields in the wrong order), just choose Records→Sort Records again, move the fields in the Sort Order list to the right places, and then click Sort.

Same Database, Different Views

So far, you’ve spent all your time in one People window, where you can see either a single record or a list, but not both at the same time. With only one window, you can’t compare two records or found sets side by side. This section will show you how to open and manage multiple windows.

Viewing a List

In the People file, you’ve probably noticed the “detail” text near the content area’s upper right. Turns out, that’s giving you feedback about the data you’re currently viewing. If you click the word “list” (it’s written in lowercase letters just because the database developers like it that way), then the scene switches to a list of all the records you’re currently viewing. List views are particularly apt for examining the results of a Find or Sort.

Note

The word you’re clicking is called a “button,” which is just a tool that you can configure yourself. See Creating a Button to learn how you can create custom buttons for your database. You can also see the View menu for the menu commands that switch views of your data.

Viewing a Table

Since it’s a database, FileMaker has lots of power that spreadsheets don’t have. But lots of people prefer to see their data in columns and rows that look like a spreadsheet. That’s what the “table” button does for you here. Click the button to view your found set in FileMaker’s Table view, and then see Rearranging Columns in Table View for more information on how you can customize this view of your data.

Creating a New Window

At any time, you can make yourself another window by choosing Window→New Window. Since FileMaker’s windows display only the records in your database, a second window doesn’t mean you have a second database—you just have a new view into the one you’re already looking at. Your new window is the same size and shape as the original, just offset a little down and to the right. And it has the exact same set of records you were browsing, along with the same current record. What’s the big deal, you ask? The big deal is that you can switch to another record or do something completely different in the new window, without affecting what’s displayed in the first one.

When you have multiple windows open, you can change most of the settings you’ve seen so far for each window. For example, if you want to compare two contacts side by side, then you can show one contact in each window.

Note

If your original window is maximized, the new window lands right on top of it, not to the lower right.

Multiple windows are useful when you’re working with one set of found records and you need to do another search. You can perform a find in a new window without disrupting your work in the original window. Say you’ve been fiddling with the Find command to come up with a list of all your contacts who don’t have email addresses, and then suddenly get the paperwork you need to edit the detail on another record. Although you can enter data on the list layout, all the fields you need may not be on that layout. Just create a new window, switch to the detail layout, and then look up the record you want to edit (see Figure 1-18). Your missing email group is safe and sound in the first window. (See the box on Record Locking to see what problems can happen when you edit the same record in multiple windows.)

Note

If you have two windows open, both of them are connected in one way. If you edit the data in one window and the record is visible in another window, the changes show up in the second window (and every other window you have open that shows that same record).

The back window shows several records in the People database’s List View layout. But the window in the front shows one record in Detail view. You can also tell that the front window was spawned from the back window because its name has a “–2” added to it. You can flip through records in the front window in their detailed glory and leave your list intact in the background.

Figure 1-18. The back window shows several records in the People database’s List View layout. But the window in the front shows one record in Detail view. You can also tell that the front window was spawned from the back window because its name has a “–2” added to it. You can flip through records in the front window in their detailed glory and leave your list intact in the background.

Hiding Windows

If you have a window just the way you want it (for example, showing a list of ad campaigns copywriter Paul Kinsey was assigned to), but it’s in your way onscreen, then you can hide it instead of closing it. When you close a window after using the Find command, your results disappear. Hiding a window makes it disappear from your screen, but FileMaker remembers everything about the window and can pop it back into view instantly. It’s a great timesaver when your screen is crowded—or when you want to keep prying eyes away from your information.

To hide the current window (that’s the one displayed at the front of your screen), choose Window→Hide Window. To bring it back again, choose Window→Show Window, and then, from the list, pick the window you want. If you have several windows open, you’ll need to remember the name of the window you hid (its name appears in the title bar, across the top of the window).

Warning

Take care if you use your operating system’s built-in features for dealing with windows, like minimizing them to the Mac OS X Dock. These techniques work just fine in FileMaker, but they can play havoc when a FileMaker script needs to control the same window. If you’re using FileMaker Scripts to automate tasks, as you’ll learn about in Chapter 11, it’s best to stick to FileMaker’s own window commands.

Closing Hidden Windows

You learned to close a database by closing all its windows. As with most rules, there’s an exception: Even if you close all visible windows, the database itself may still be open—in a hidden window.

The easiest way to close all FileMaker’s open windows, hidden ones included, is to press Alt (Option), and then choose File→Close (File→Close All on Mac OS X). The ordinary Close command closes every window, hidden or not, when you press this key.

Automatically Arranging Windows

Since FileMaker lets you create dozens of windows on your screen at one time, it also provides some commands to help you manage them. From the Window menu, you can choose one of four commands: Tile Horizontally, Tile Vertically, Cascade Windows, or Bring All To Front (this one is Mac only). Each command works on all your visible windows (none of your hidden or minimized ones are included). You get a lot of action from these commands, but it might not save you a lot of time, as shown in Figure 1-19.

All the automatic window arrangements—including the horizontal tiling shown here—have their limitations. The window arranging commands use all available application space (Windows) or all the available screen space (Mac) to decide how to arrange your visible windows. So as you can see here, horizontally tiled windows often aren’t the best use of space. But they can be useful if you have so many windows open that you can’t remember which one is which (those numbers FileMaker adds at the end of the window name tell you what order you created them in). At least with these options you can see all the windows at once and pick the one you need.

Figure 1-19. All the automatic window arrangements—including the horizontal tiling shown here—have their limitations. The window arranging commands use all available application space (Windows) or all the available screen space (Mac) to decide how to arrange your visible windows. So as you can see here, horizontally tiled windows often aren’t the best use of space. But they can be useful if you have so many windows open that you can’t remember which one is which (those numbers FileMaker adds at the end of the window name tell you what order you created them in). At least with these options you can see all the windows at once and pick the one you need.

Auto-arranging is a blunt tool, however, and will move and resize your windows without any regard for a window’s content. So use these commands with the understanding that you’ll still have to do some rearranging yourself. Manually resize your windows or use the square Maximize button (Windows) or the green Zoom button (Mac) to return your windows to their proper size once you’ve found the one you need.

Saving Your Database

Everybody knows it’s important to save files early and often. So you’re working along in FileMaker entering information about your office birthday roster, and as good habit dictates, you type the keyboard shortcut that saves in practically every program in the known universe (Ctrl+S on Windows and ⌘-S on the Mac). Up pops the wrong dialog box. This one’s asking you how you want to sort your data! What gives?

Don’t worry, FileMaker has you covered. The program automatically saves all your work in a cache, which is part of your computer’s RAM (random access memory). Then, periodically, FileMaker transfers the information from the cache to your hard drive, where it’s less likely to be lost in case of a crash.

You can control how much work is held in cache before it’s saved to your hard drive, as described in Figure 1-20. In Windows, choose Edit→Preferences, and then click the Memory tab. On the Mac, choose FileMaker Pro→Preferences, and then click the Memory tab.

Specify the size of FileMaker’s cache and how often your work is moved from the cache to your hard drive. (Nerds call that flushing the cache.) A larger cache yields better performance but leaves more data in RAM. If you’re working on a laptop, you can conserve battery power by saving cache contents less frequently. But infrequent cache saving comes with some risk: In case of a power outage or other catastrophe, the work that’s in cache is lost for good.

Figure 1-20. Specify the size of FileMaker’s cache and how often your work is moved from the cache to your hard drive. (Nerds call that flushing the cache.) A larger cache yields better performance but leaves more data in RAM. If you’re working on a laptop, you can conserve battery power by saving cache contents less frequently. But infrequent cache saving comes with some risk: In case of a power outage or other catastrophe, the work that’s in cache is lost for good.

Saving a Copy of Your Database

Although FileMaker automatically saves your work as you go, what if the database file itself gets lost or suffers some digital harm? It’s in your best interest to back up your database periodically. You can perform a backup by closing all your database’s windows and then simply copying the database file. For example, you can copy it up to a cloud storage website, email it to a friend, or duplicate it and tuck the copy away in another folder. When your database is open, the easiest way to make a backup is to choose File→“Save a Copy As.” In the dialog box that appears, make sure that “copy of current file” is selected as the Type option. When you click Save, FileMaker makes your copy in the background, and you can continue working in the original file.

But if you want to start working in the copy you’ve just made, then select the “Automatically open file” option before you click Save. FileMaker makes the copy of your file and then opens it for you. FileMaker doesn’t close the original file for you, so if you’re finished with the original, choose it from the Window menu, and then close it to avoid confusion. Now only your new copy of the file is open.

If you want to make a copy of your database to send to an associate in another office, choose the “Create email with file as attachment” option. FileMaker copies your file, launches your email program, creates a new email, and then attaches your newly minted file copy to it. All you have to do is provide an email address, type your message, and then click Send. See Save/Send Records As on page 824 to see how you can use similar options if you want to send data to your associate in another format, like Excel or a PDF file.

Warning

Always make sure a database is closed before you copy its file using any of the desktop methods (like Edit→Copy in Windows Explorer or the Mac’s Finder). If you copy a database file while it’s open in FileMaker, both the original and the copy may be damaged, missing information, or in the most serious cases, rendered totally unusable!

Saving a Clone of Your Database

There’s no ban on cloning in FileMaker. Clones are clean copies of your database, but without the data. Clones are really useful, like when you’ve designed a killer database for running sales in your dart and billiards supply shop, and you want to send the files to all your franchisees without giving away your store’s sales data. Just make clones of your files and then give them to your proud new owners. To make a clone, choose File→“Save a Copy As,” and then make sure “clone (no records)” is selected as the Type option.

Using FileMaker’s Help Menu

As helpful as this introduction to databases has been, you may want to use FileMaker’s onboard help to get more information (Figure 1-21). There you find commands for FileMaker’s Help application and for online help at FileMaker’s website. See Appendix A for more information from those sources, plus help from third parties.

The quickest way to get help, outside of sitting beside a willing guru, is to use the handy search field at the top of the Help menu. To get help, just start typing the subject you need help with. As you type each letter, the Help application changes its menu items to display topics it thinks you might need. When you see the item you need, select it from the menu, and Help appears, showing the page for the term or topic you chose.

Here’s the Help menu on a Mac in its pristine state, and showing its initial menu items. As you type a search term, FileMaker searches its Help application to create a list of choices that may relate to your search terms.

Figure 1-21. Here’s the Help menu on a Mac in its pristine state, and showing its initial menu items. As you type a search term, FileMaker searches its Help application to create a list of choices that may relate to your search terms.

Tip

If you bought FileMaker in a box, you’ll find there’s no printed manual. Instead there’s a lengthy PDF document that gets installed along with the application. To check out FileMaker’s own documentation, choose Help→Product Documentation→User’s Guide.

Get FileMaker Pro 12: The Missing Manual now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.