User manual
Table Of Contents
- Preface Learning how to use FileMakerPro
- Chapter 1 FileMaker Pro basics
- Chapter 2 Adding and viewing data
- Chapter 3 Finding and sorting information
- Finding records
- Finding text and characters
- Finding exact matches in text fields
- Finding numbers, dates, and times
- Finding ranges of information
- Finding data in related fields
- Finding records that match multiple criteria
- Finding empty or non-empty fields
- Finding duplicates
- Finding all records except those matching criteria
- Hiding records from a found set and viewing hidden records
- Viewing, repeating, or changing the last find
- Sorting records
- Finding records
- Chapter 4 Previewing and printing information
- Chapter 5 Creating a database
- Chapter 6 Creating and managing layouts and reports
- Chapter 7 Customizing layouts
- Chapter 8 Working with related files
- Chapter 9 Protecting databases with passwords and groups
- Chapter 10 Creating scripts to automate tasks
- About scripts
- Creating scripts: an overview
- About ScriptMaker steps
- Control script steps
- Navigation script steps
- Sort, find, and print script steps
- Editing script steps
- Fields script steps
- Records script steps
- Windows script steps
- Files script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Changing scripts
- Duplicating, renaming, or deleting scripts
- Importing scripts
- Listing scripts in the Scripts menu
- Using buttons with scripts
- Example of a ScriptMaker script
- Chapter 11 Using formulas and functions
- Chapter 12 Importing and exporting data
- Chapter 13 Sharing databases on a network
- Chapter 14 Publishing databases on the Web
- About publishing databases on the Web
- How users work with databases on the Web
- What you need to publish databasesontheWeb
- Publishing databases on the Web: an overview
- Enabling FileMaker Pro Web Companion
- Configuring FileMaker Pro WebCompanion
- Enabling Web Companion sharing
- Setting up browser views
- Testing your published database
- About browser views for web publishing
- Chapter 15 Using ODBC with FileMakerPro
- Appendix A Customizing FileMaker Pro
- Appendix B Backing up and recovering files
- Appendix C FileMaker Pro Quick Reference (Windows)
- Appendix D FileMaker Pro Quick Reference (Mac OS)
- Index
Using ODBC with FileMaker Pro
15-13
Use the Sales Reports database to view reports of your data.
To view a summary report of total sales for each salesperson, click
the Reports button, then the By Salesperson button.
Automating ODBC connections
Because accessing ODBC data sources is a task that’s frequently
repeated, you might want to create a script with the Import Records
script step that automatically finds the data source. Since
FileMaker Pro interacts with an ODBC driver, however, some
options behave differently than when used with other file formats.
The Specify File option stores:
1 the data source name
1 the user ID and password (optional)
1 the SQL query to be executed against the data source
Keep these points in mind:
1 To save the user name and password, select the Save user name and
password checkbox in the ODBC Enter Password dialog box.
1 The Perform without dialog option hides all dialog boxes
encountered during an ODBC import. If you haven’t specified a data
source to import from, you must manually select ODBC in the Open
File dialog box while performing the import script.
1 The Restore import order ScriptMaker option stores the field order
in the Import Field Mapping dialog box, similar to other scripted
imports.
1 The Set Error Capture ScriptMaker step suppresses all ODBC error
messages and alerts that might occur during an ODBC import.
1 Each script can save one set of ODBC import options. To access
multiple ODBC data sources or to automate multiple queries, you
must create a separate script.
Note The ODBC import feature saves the data source name, user ID
and password, and the SQL query from the previous ODBC import.
Keep this in mind when selecting the Restore import order or Specify
File options.
Tip To automate the interaction across multiple applications, explore
the ActiveX functionality (Windows only). For more information,
see chapter 10, “Creating scripts to automate tasks.”
SQL query using all three clauses: SELECT, WHERE, and ORDER BY