Flylib.com

Books Software

 
 
 

name and save the layout


name and save the layout

Naming a layout . When you create the initial layout for a database, FileMaker 7 and 8 automatically name it to match the database's file name. Let's rename it to something more appropriate. Since this is the primary layout, we'll call it Main.

In Layout mode, choose Layouts > Layout Setup. The Layout Setup dialog box appears.

Saving layout changes . There are some additional touches (such as scripts, buttons , and value lists) that we'll add to this layout in later chapters, but the basic elements are now in place. To see the finished layout, switch to Browse mode by choosing View > Browse Mode ( / ).

In FileMaker Pro 6 and earlier versions, all changes made in Layout mode were automatically saved when you switched modes. In FileMaker Pro 7 and 8, you can optionally discard changes when leaving Layout mode, as well as force a save. (To periodically force a save of layout changes, choose Layouts > Save Layout or press / ).

When viewed in Browse mode, this is how the Main layout should look.

Note: Now that the Main layout is in place, feel free to create some dummy records so you can see how Investment Minder formats data and uses it in calculations. To create a new record, switch to Browse mode and choose Records > New Record.

As you continue to refine the database, you can also use sample data to see the workings of the Main portals (Chapter 4), reports (Chapters 6 and 7), and scripts (Chapter 8).



extra bits

about layout tools p. 24

  • While we'll use the Size palette to measure distances and sizes in inches , you can also use two other measurements systems. Click the measurement unit to the right of any Size palette box to change the units to centimeters or pixels .


format fields and labels p. 27

  • The object dimensions, locations, and colors in this chapter aren't sacred; neither are the fonts or font sizes. If you think you can improve this or other layouts, feel free to experiment.

  • Windows users : Setting labels or fields to Arial 12 pt. may increase their height, making them larger than their corresponding field or label. You may have to manually adjust the vertical position of one member of such a pair to make the two text string match up.


add a tab control p. 29

  • To make changes to a tab control's appearance or its tab labels, double-click the tab control to open the Tab Control Setup dialog box.

  • If you prefer a more colorful layout, you can make each tab panel a different color


place fields in the block p. 32

  • You can move a selected object (such as a field, label, or rectangle) one pixel at a time by pressing the appropriate arrow key


place the Savings fields p. 35

  • When placing fields, it's simpler if you stack them in the field list and then drag them as a group onto the tab panel.

  • When you want to edit a text string (a field label, for example), it isn't necessary to first select the Text Tool. Double-clicking a text string with the Selection Tool automatically switches to the Text Tool.

  • You can use the Size palette to simultaneously set the width of multiple selected fields, but only if all selected fields are initially the same width. This also holds true for manually resizing multiple fields by dragging a handle on one of the fields.

  • Rather than manually deleting the label prefixes, you can also use the Edit > Find/Replace > Find/Replace command. Search for the label prefix ( Sav_ , for example) and replace it with an empty text string.