U.M. (Windows)
Table Of Contents
- Preface: Getting help
- Chapter 1: FileMakerPro basics
- Chapter 2: Creating a database file
- Chapter 3: Laying out and arranging information
- Understanding layouts
- Working with predefined layout types
- Arranging records in columns
- Managing layouts
- Working with layout parts
- Changing layout parts
- Working with all object types
- Working with graphic objects
- Working with fields in a layout
- Adding fields to a layout
- Adding merge fields
- Deleting a field from a layout
- Defining display formats for fields
- Determining data entry in fields
- Setting the tab order for data entry
- Adding scroll bars to fields
- Formatting repeating fields
- Adding borders, fill, and baselines to fields
- Defining value lists
- Formatting fields with value lists
- Working with text
- Chapter 4: Working with information in records
- Working in Browse mode
- Adding data to a file
- Selecting a field for data entry
- Adding and duplicating records
- Entering and changing data in fields
- Working with container fields
- Entering data from a value list
- Viewing and inserting data from another source
- Copying and moving values and records
- Using drag and drop to move information
- Replacing field values
- Working with records
- Finding information
- Deleting records
- Sorting records
- Chapter 5: Using ScriptMaker and buttons
- Chapter 6: Previewing and printing information
- Chapter 7: Networking and access privileges
- Chapter 8: Importing and exporting data
- Chapter 9: Customizing FileMakerPro
- Chapter 10: Using data from related files
- Chapter 11: Publishing files on the Web
- About the World Wide Web
- About FileMaker Pro Web Companion
- Publishing your database on the Web—an overview
- Getting ready to publish your files on the Web
- Setting up FileMaker Pro Web Companion
- Configuring FileMaker Pro Web Companion
- Setting up Instant Web Publishing
- Database security
- Helping Web users find your database
- Custom Web Publishing
- Appendix A: Recovering damaged files
- Appendix B: Working with international files
- Appendix C: Summary of functions
- Appendix D: Linking and embedding objects
- Index
Using ScriptMaker and buttons 5-25
Displaying customized layouts
In this example, a travel agency has a database that stores information
about its clients. One agent likes to view the information in a simple
layout that shows only the agent’s name, and the client’s name and
telephone number. Another agent prefers a more complex layout that
displays the agent’s name, and the client’s name, address, phone
number, and travel preferences.
The following sections explain how to define a startup script that uses
the current user name to display the correct layout and client records.
Note For this example, you should know how to specify a user name
(see “Setting general application preferences” on page 9-2) and a startup
script (see “Setting document preferences” on page 9-8.)
Example step 1: Define the startup script
In ScriptMaker, define the Custom Layout script with the steps
shown below.
Example step 2: Set the startup option
In Document Preferences, set the option to perform the Custom Layout
script each time the file is opened.
Displays a welcome
layout for all users
Depending on the agent’s
user name, the script shows
the appropriate layout
In Find mode, the script
pastes the agent’s user name
into the Name field, and then
finds the agent’s records