Switching Between Layouts

The ever-helpful status area tells you what layout you're on and lets you switch to another one. The layout pop-up menu (Figure 4-3) is one of the most prominent elements of the status area. You can also seem the same list of layout in the View images/U2192.jpg border=0> Go to Layout menu.

Figure 4-3. In the status area, click the layout pop-up menu to see a menu of layouts in the database. To switch to a layout, choose it from the list. The layout pop-up menu also shows you which layout you're using when you haven't clicked it.


Note: The layout pop-up menu doesn't necessarily show every layout. You can actually tell FileMaker to hide certain layout names in this menu. You'll learn how on Section 4.4.2.15.


Your People database has only one layout, making for a poor demonstration. To get a feel for how layouts work, you can use the Contact Management database instead (you created this database from a template in Chapter 1).

  1. Open the Contact Management database.

    It appears on the screen. If you need a sample database to play with, you can find it on the Missing Manual Web site (Section 3.4.5), complete with sample data.

  2. If the status area isn't showing, click the status area control to show it.

    You now see the status area. (The status area control is explained back in Figure 1-2.)

  3. From the layout pop-up menu, choose List View.

    Now that you finally understand the difference between layouts and views, the silly database has the nerve to name a layout "List View." Remain calm: The name just happens to be the best way to describe the layout (at least the developer thought so), because this layout is a List and it's displayed in list view.

    The List View layout shows in the window. FileMaker remembers which view you last used with each layout.

    Since the layout affects only how the data shows, your found set and current record stay consistent as you change layouts. The following two steps show how this layout works.

  4. From the List view layout, use the status area's book icon to switch to another record.

    Since you are viewing this layout as a list, as you change records, the little black line along the left edge of the window moves, as explained on Section 2.1.2.

  5. From the layout pop-up menu, choose Form Main Address.

    You're now viewing details of the record you selected when in list view. In other words, FileMaker stayed on the same record while you switched layouts.

Likewise, if you do a find on the Form Main Address layout, and then switch to the List layout, you'll see just the found records in the list. Since FileMaker is all about making all your data easy to see, search, print, and otherwise use, switching among various layouts is a big part of the game.


Note: As you spend more time with your own databases, you'll probably discover that you switch layouts a lot. You may decide all those trips to the tiny layout pop-up menu are slowing you down. That's why most databases (the Contact Management template included) use buttons to make layout switching faster.In Chapter 1, you learned how to click the tab graphics to switch between viewing record details, a list, or a table (Section 1.5.3). Now you know these tabs simply switch between three distinct layouts. You too can create buttons to switch between layouts, and you'll learn how in Chapter 6.


Part I: Introduction to FileMaker Pro

Your First Database

Organizing and Editing Records

Building a New Database

Part II: Layout Basics

Layout Basics

Creating Layouts

Advanced Layouts and Reports

Part III: Multiple Tables and Relationships

Multiple Tables and Relationships

Advanced Relationship Techniques

Part IV: Calculations

Introduction to Calculations

Calculations and Data Types

Advanced Calculations

Extending Calculations

Part V: Scripting

Scripting Basics

Script Steps

Advanced Scripting

Part VI: Security and Integration

Security

Exporting and Importing

Sharing Your Database

Developer Utilities

Part VII: Appendixes

Appendix A. Getting Help



FileMaker Pro 8. The Missing Manual
FileMaker Pro 8: The Missing Manual
ISBN: 0596005792
EAN: 2147483647
Year: 2004
Pages: 176

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net