Help

Table Of Contents
Working with related tables and files
F
ILEMAKER PRO HELP 394
To summarize data in portals:
1. Create a summary field in the table that related records are being displayed from. (This is
the table displayed in the Portal Setup dialog box.) See
Defining summary fields.
Tip For a more complex summary of your data, use a calculation field to define a formula. See
Defining calculation fields.
2. Place the summary field on the layout containing your portal.
You can place the summary field anywhere on your layout, including inside the portal.
See Placing and removing fields on a layout.
Related topics
Creating portals to display related records
Filtering records in portals
By filtering portal records, you can display different sets of records in a portal.
To filter records in a portal:
1. Double-click the portal.
2. In the Portal Setup dialog box, select Filter portal records.
The Specify Calculation dialog box appears.
3. Define a calculation that determines which portal records will be displayed.
For example, if you are in an Invoices layout, in a portal that shows product records from a
LineItems table and want to display just the products with quantities greater than or equal to
one, use the formula If (LineItems::Quantity < 1; 0; 1).
4. Click OK.
Important The results of summary fields, calculations, and find requests are based on the full set of
related records, not just the records in a portal that are filtered. For example, if a portal is displaying
a filtered subset of records, and there is a Total of summary field outside the portal summarizing
these records, the summary field will total all related records, not just the displayed records.
Notes
If filtering is enabled, in Layout mode you see Filter in the lower left corner of the portal.
Filtering records is intended for display purposes only, not for security purposes.
Filtering records is performed before sorting records.
The portal filter calculation will evaluate the same as a field calculated in a portal row.
Related topics
Creating portals to display related records
About lookups
A lookup copies data from another table into a field in the current table. After data is copied, it
becomes part of the current table (and remains in the table from which it was copied). Data copied to
the current table doesn't change automatically when the data in the other table changes.