My.ADVISOR.com Sign-In
Username
Password
Sign Up 
Go to Article
Advanced Search 

REPORTING

Build a Complex Report with Data from Many FileMaker Pro Tables

Learn a flexible approach to complex reporting.

 Subscribers: Sign-in to activate download link -- Larger versions of the screenshots from this article.
By Michael T. Rocharde, Excelisys consultant

UNLOCKED -- This article is provided to subscribers of FILEMAKER ADVISOR or DATABASED ADVISOR or FILEMAKER ADVISOR. To subscribe or renew, go to Advisor Store.

One of FileMaker Pro's strengths is how easy it is to design nice looking reports. In a report based on a one-to-many relationship such as Invoices to Invoice Line_Items, you simply design the report in the table that has the many records and display the information from the parent record in the report.
Figure 1: Final report -- The kind of report you'll learn how to create, shown here in Preview mode.

However, there are some cases where the relationship structure of the program simply doesn't lend itself to this simple approach to reporting, and getting the report you want becomes difficult. In this article, I show you how to build a complex, multi-layered report that takes data from any number of related tables and generates the report in a matter of seconds. I'll also show you a simple method of making changes to that report as the needs of the user change. (You'll need FileMaker Pro Advanced for this technique because it requires you to copy and paste fields and other elements.)

To walk you through this technique, I'm using as an example a report designed for Digital Ink Corporation, a provider of solutions to aero-medical and critical care transport companies. During a transport, the crew takes a number of different procedures/actions, which are all entered into different tables via portals. At the end of the transport, the crew must get all this information together to produce a multi-page report with a sub-summary for each individual set of procedures/tests (figure 1).

This example shows the first page of the combined report. (You may notice it says Page 2 of 4, which I'll explain later.) The top half of the first page uses fields from the Main record because all that data is entered into that file and it's included in the Sub-Summary part that sorts by the ID# field. Below that section is the sub-summary for the field Category.

In your Reports table, you'll have two fields for every field you import. The first is the data entry field; use the same names as the source file to simplify the import. You also need a label for each field. The category determines the field label, so it will only have a value if the category of the imported record matches the category referenced in the field label calculation; otherwise the field label field remains empty.

In other words, when you import data from the original tables, use matching names, then use the Replace function to set the Category field for that set of records. Each time you do an import, you end up with many blank fields in the Report file, which is why you can overlay fields for the reports part. The exact same thing is true for the field labels.

What do YOU think about this topic? Share your advice and thoughts using this form.

Your Name

REQUIRED : PUBLIC

Your E-Mail

REQUIRED : PRIVATE

Job, Company

OPTIONAL : PUBLIC

City, State, Country

OPTIONAL : PUBLIC

Your Web Site

OPTIONAL : PUBLIC

Your Comment

Please help everyone by keeping your comments on-topic, using clean language, and not defaming or making personal attacks.


Your e-mail address is required, but it will not be displayed to the public or given to anyone. See our Privacy Policy. Comments become visible after they pass our spam filter, and spammers and abusers are permanently blocked. Please report spam or abuse.

Michael Rochard was born in England and has been a full time professional FileMaker developer since 1987. He co-founded the first FileMaker-only consultancy in the UK. Michael has worked with many Fortune 500 companies and has developed solutions for virtually every industry. He specializes in highly visual intuitive interfaces. Michael works as a consultant for Excelisys but also has his own company, TimeGain Software, which provides Web site design, graphic design, and business development services in addition to FileMaker development. rochard@timegainsoftware.com or rochard@excelisys.com

Printer-friendly
page layout

Keyword Tags: FileMaker, FileMaker Development, FileMaker FileMaker Pro, FileMaker Solutions, Reporting

ADVISORAMA
All reports are in: Life is now officially unfair.

ARTICLE INFO

FileMaker Advisor

Web Edition: 2007 Week 40, Doc #19102

Print Edition: October/November 2007, Page 16

SUBSCRIBER ONLY ARTICLE LOCKED


File: Larger versions of the screenshots from this article.
Subscribers, log-in for Download link.

Subscribe to FileMaker Advisor Magazine

Read the advanced guide to creating custom business database solutions with FileMaker software. Subscribe now to gain access to all the archives and downloads.

FileMaker.Advisor.com

Subscribe to Advisor Basics of FileMaker Pro

Learn the fundamentals of using FileMaker Pro software. Every issue gives you step-by-step instructions on creating the databases you need. Subscribe now!

FileMaker.AdvisorBasics.com

Secrets Of The Top Experts -- Now!

See exactly how to do it, step-by-step, in Advisor Academy CDs created by the top experts. Click to see what you can learn right now.

AdvisorAcademy.com

Free E-Newsletters

Keep up! Hot News, How-To, Tips & Tricks, Expert Advice, and more. Click to request your's free.

AdvisorUpdate.info

Need Know-How Now?

What direction are you going with your business? Advisor Guides are packed with the answers you need to work smarter. Can you afford to fall behind?

AdvisorStore.com

Showcase Your Smarts

Submit your tips, techniques and advice and let Advisor promote your business and build your career. Show the world what you know!

AdvisorTips.com

Use of this or any other site, content, product or service of Advisor Media constitutes acceptance of Terms of Use.
Portions copyright ©1983-2008 Advisor Media, Inc. All Rights Reserved.
Reuse or reproduction of any portion or quantity of Advisor Media's copyrighted content, in any form, for any purpose, requires written permission.
ADVISOR®, the ADVISOR logo, and other names and logos that incorporate ADVISOR are registered trademarks, trademarks or service marks of Advisor Media, Inc. in the United States and/or other countries.
Other trademarks are used for identification, editorial or descriptive purposes and are the property of their owners.
rochm002 posted 10/03/2007 modified 05/14/2008 03:44:01 AM ztfmfd/ztfmfd
domino-144.advisor.com my.advisor.com 05/16/2008 03:49:04 PM